KernelDef.Builder

パブリック静的最終クラスKernelDef.Builder

Protobuf 型tensorflow.KernelDef

パブリックメソッド

KernelDef.Builder
addAllConstraint (Iterable<? extends KernelDef.AttrConstraint > 値)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
KernelDef.Builder
addAllHostMemoryArg (Iterable<String> 値)
 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
KernelDef.Builder
addConstraint ( KernelDef.AttrConstraint値)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
KernelDef.Builder
addConstraint (int インデックス、 KernelDef.AttrConstraint値)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
KernelDef.Builder
addConstraint (int インデックス、 KernelDef.AttrConstraint.Builder builderForValue)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
KernelDef.Builder
addConstraint ( KernelDef.AttrConstraint.Builder builderForValue)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
KernelDef.AttrConstraint.Builder
addConstraintBuilder ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
KernelDef.AttrConstraint.Builder
addConstraintBuilder (int インデックス)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
KernelDef.Builder
addHostMemoryArg (文字列値)
 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
KernelDef.Builder
addHostMemoryArgBytes (com.google.protobuf.ByteString 値)
 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
KernelDef.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
カーネル定義
建てる()
カーネル定義
KernelDef.Builder
クリア()
KernelDef.Builder
クリア制約()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
KernelDef.Builder
クリアデバイスタイプ()
 Type of device this kernel runs on.
KernelDef.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド)
KernelDef.Builder
ClearHostMemoryArg ()
 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
KernelDef.Builder
クリアラベル()
 This allows experimental kernels to be registered for an op that
 won't be used unless the user specifies a "_kernel" attr with
 value matching this.
KernelDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
KernelDef.Builder
クリアオプ()
 Must match the name of an Op.
KernelDef.Builder
クリア優先度()
 Prioritization of kernel amongst different devices.
KernelDef.Builder
KernelDef.AttrConstraint
getConstraint (int インデックス)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
KernelDef.AttrConstraint.Builder
getConstraintBuilder (int インデックス)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
リスト< KernelDef.AttrConstraint.Builder >
getConstraintBuilderList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
整数
getConstraintCount ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
リスト< KernelDef.AttrConstraint >
getConstraintList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
KernelDef.AttrConstraintOrBuilder
getConstraintOrBuilder (int インデックス)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
リスト<? KernelDef.AttrConstraintOrBuilderを拡張 >
getConstraintOrBuilderList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
カーネル定義
最終的な静的 com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getDeviceType ()
 Type of device this kernel runs on.
com.google.protobuf.ByteString
getDeviceTypeBytes ()
 Type of device this kernel runs on.
getHostMemoryArg (int インデックス)
 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
com.google.protobuf.ByteString
getHostMemoryArgBytes (int インデックス)
 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
整数
getHostMemoryArgCount ()
 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
com.google.protobuf.ProtocolStringList
getHostMemoryArgList ()
 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
getLabel ()
 This allows experimental kernels to be registered for an op that
 won't be used unless the user specifies a "_kernel" attr with
 value matching this.
com.google.protobuf.ByteString
getLabelBytes ()
 This allows experimental kernels to be registered for an op that
 won't be used unless the user specifies a "_kernel" attr with
 value matching this.
getOp ()
 Must match the name of an Op.
com.google.protobuf.ByteString
getOpBytes ()
 Must match the name of an Op.
整数
getPriority ()
 Prioritization of kernel amongst different devices.
最終ブール値
KernelDef.Builder
mergeFrom (com.google.protobuf.Message other)
KernelDef.Builder
mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
最終的なKernelDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド)
KernelDef.Builder
RemoveConstraint (int インデックス)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
KernelDef.Builder
setConstraint (int インデックス、 KernelDef.AttrConstraint.Builder builderForValue)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
KernelDef.Builder
setConstraint (int インデックス、 KernelDef.AttrConstraint値)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
KernelDef.Builder
setDeviceType (文字列値)
 Type of device this kernel runs on.
KernelDef.Builder
setDeviceTypeBytes (com.google.protobuf.ByteString 値)
 Type of device this kernel runs on.
KernelDef.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
KernelDef.Builder
setHostMemoryArg (int インデックス、文字列値)
 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
KernelDef.Builder
setLabel (文字列値)
 This allows experimental kernels to be registered for an op that
 won't be used unless the user specifies a "_kernel" attr with
 value matching this.
KernelDef.Builder
setLabelBytes (com.google.protobuf.ByteString 値)
 This allows experimental kernels to be registered for an op that
 won't be used unless the user specifies a "_kernel" attr with
 value matching this.
KernelDef.Builder
setOp (文字列値)
 Must match the name of an Op.
KernelDef.Builder
setOpBytes (com.google.protobuf.ByteString 値)
 Must match the name of an Op.
KernelDef.Builder
setPriority (int 値)
 Prioritization of kernel amongst different devices.
KernelDef.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)
最終的なKernelDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

継承されたメソッド

パブリックメソッド

public KernelDef.Builder addAllConstraint (Iterable<? extends KernelDef.AttrConstraint > 値)

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public KernelDef.Builder addAllHostMemoryArg (Iterable<String> 値)

 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
 
repeated string host_memory_arg = 4;

public KernelDef.Builder addConstraint ( KernelDef.AttrConstraint値)

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public KernelDef.Builder addConstraint (int インデックス、 KernelDef.AttrConstraint値)

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public KernelDef.Builder addConstraint (int インデックス、 KernelDef.AttrConstraint.Builder builderForValue)

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public KernelDef.Builder addConstraint ( KernelDef.AttrConstraint.Builder builderForValue)

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public KernelDef.AttrConstraint.Builder addConstraintBuilder ()

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public KernelDef.AttrConstraint.Builder addConstraintBuilder (int インデックス)

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public KernelDef.Builder addHostMemoryArg (文字列値)

 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
 
repeated string host_memory_arg = 4;

public KernelDef.Builder addHostMemoryArgBytes (com.google.protobuf.ByteString 値)

 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
 
repeated string host_memory_arg = 4;

public KernelDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)

public KernelDefビルド()

public KernelDef buildPartial ()

public KernelDef.Builder clear ()

public KernelDef.Builder clearConstraint ()

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public KernelDef.Builder clearDeviceType ()

 Type of device this kernel runs on.
 
string device_type = 2;

public KernelDef.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド)

public KernelDef.Builder clearHostMemoryArg ()

 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
 
repeated string host_memory_arg = 4;

public KernelDef.Builder clearLabel ()

 This allows experimental kernels to be registered for an op that
 won't be used unless the user specifies a "_kernel" attr with
 value matching this.
 
string label = 5;

public KernelDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public KernelDef.Builder clearOp ()

 Must match the name of an Op.
 
string op = 1;

public KernelDef.Builder clearPriority ()

 Prioritization of kernel amongst different devices. By default we assume
 priority is 0. The higher the priority the better. By default (i.e. if
 this is not set), we prefer GPU kernels over CPU.
 
int32 priority = 6;

パブリックKernelDef.Builderクローン()

public KernelDef.AttrConstraint getConstraint (int インデックス)

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public KernelDef.AttrConstraint.Builder getConstraintBuilder (int インデックス)

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public List< KernelDef.AttrConstraint.Builder > getConstraintBuilderList ()

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public int getConstraintCount ()

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public List< KernelDef.AttrConstraint > getConstraintList ()

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public KernelDef.AttrConstraintOrBuilder getConstraintOrBuilder (int インデックス)

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

公開リスト<? extends KernelDef.AttrConstraintOrBuilder > getConstraintOrBuilderList ()

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public KernelDef getDefaultInstanceForType ()

public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

パブリック String getDeviceType ()

 Type of device this kernel runs on.
 
string device_type = 2;

public com.google.protobuf.ByteString getDeviceTypeBytes ()

 Type of device this kernel runs on.
 
string device_type = 2;

public String getHostMemoryArg (int インデックス)

 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
 
repeated string host_memory_arg = 4;

public com.google.protobuf.ByteString getHostMemoryArgBytes (int インデックス)

 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
 
repeated string host_memory_arg = 4;

public int getHostMemoryArgCount ()

 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
 
repeated string host_memory_arg = 4;

public com.google.protobuf.ProtocolStringList getHostMemoryArgList ()

 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
 
repeated string host_memory_arg = 4;

パブリック String getLabel ()

 This allows experimental kernels to be registered for an op that
 won't be used unless the user specifies a "_kernel" attr with
 value matching this.
 
string label = 5;

public com.google.protobuf.ByteString getLabelBytes ()

 This allows experimental kernels to be registered for an op that
 won't be used unless the user specifies a "_kernel" attr with
 value matching this.
 
string label = 5;

パブリック String getOp ()

 Must match the name of an Op.
 
string op = 1;

public com.google.protobuf.ByteString getOpBytes ()

 Must match the name of an Op.
 
string op = 1;

public int getPriority ()

 Prioritization of kernel amongst different devices. By default we assume
 priority is 0. The higher the priority the better. By default (i.e. if
 this is not set), we prefer GPU kernels over CPU.
 
int32 priority = 6;

パブリック最終ブール値isInitialized ()

public KernelDef.Builder mergeFrom (com.google.protobuf.Message other)

public KernelDef.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public Final KernelDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

public KernelDef.Builder RemoveConstraint (int インデックス)

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public KernelDef.Builder setConstraint (int インデックス、 KernelDef.AttrConstraint.Builder builderForValue)

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public KernelDef.Builder setConstraint (int インデックス、 KernelDef.AttrConstraint値)

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public KernelDef.Builder setDeviceType (文字列値)

 Type of device this kernel runs on.
 
string device_type = 2;

public KernelDef.Builder setDeviceTypeBytes (com.google.protobuf.ByteString 値)

 Type of device this kernel runs on.
 
string device_type = 2;

public KernelDef.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)

public KernelDef.Builder setHostMemoryArg (int インデックス、文字列値)

 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
 
repeated string host_memory_arg = 4;

public KernelDef.Builder setLabel (文字列値)

 This allows experimental kernels to be registered for an op that
 won't be used unless the user specifies a "_kernel" attr with
 value matching this.
 
string label = 5;

public KernelDef.Builder setLabelBytes (com.google.protobuf.ByteString 値)

 This allows experimental kernels to be registered for an op that
 won't be used unless the user specifies a "_kernel" attr with
 value matching this.
 
string label = 5;

public KernelDef.Builder setOp (文字列値)

 Must match the name of an Op.
 
string op = 1;

public KernelDef.Builder setOpBytes (com.google.protobuf.ByteString 値)

 Must match the name of an Op.
 
string op = 1;

public KernelDef.Builder setPriority (int 値)

 Prioritization of kernel amongst different devices. By default we assume
 priority is 0. The higher the priority the better. By default (i.e. if
 this is not set), we prefer GPU kernels over CPU.
 
int32 priority = 6;

public KernelDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)

public Final KernelDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)