A function can be instantiated when the runtime can bind every attr with a value. When a GraphDef has a call to a function, it must have binding for every attr defined in the signature. TODO(zhifengc): * device spec, etc.
tensorflow.FunctionDef
Metode Publik
FunctionDef.Builder | addAllNodeDef (Nilai Iterable<? extends NodeDef >) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef (nilai NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef ( NodeDef.Pembuat pembangunForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef (indeks int, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef (indeks int, nilai NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | tambahkanNodeDefBuilder () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | addNodeDefBuilder (indeks int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
FungsiDef | membangun () |
FungsiDef | |
FunctionDef.Builder | jernih () |
FunctionDef.Builder | hapusArgAttr () |
FunctionDef.Builder | hapusAttr () |
FunctionDef.Builder | |
FunctionDef.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
FunctionDef.Builder | hapusNodeDef () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FunctionDef.Builder | |
FunctionDef.Builder | hapusRet () |
FunctionDef.Builder | jelasTanda Tangan () The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder | klon () |
boolean | berisiArgAttr (kunci int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
boolean | berisiAttr (kunci string) Attributes specific to this function definition. |
boolean | berisiControlRet (kunci string) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
boolean | berisiResourceArgUniqueId (kunci int) Unique IDs for each resource argument, used to track aliasing resources. |
boolean | berisiRet (kunci string) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Peta<Bilangan Bulat, FunctionDef.ArgAttrs > | dapatkanArgAttr () Gunakan getArgAttrMap() sebagai gantinya. |
ke dalam | dapatkanArgAttrCount () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Peta<Bilangan Bulat, FunctionDef.ArgAttrs > | dapatkanArgAttrMap () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.ArgAttrs | getArgAttrOrDefault (kunci int, FunctionDef.ArgAttrs defaultValue) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.ArgAttrs | getArgAttrOrThrow (kunci int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Peta<String, AttrValue > | dapatkanAttr () Gunakan getAttrMap() sebagai gantinya. |
ke dalam | dapatkanAttrCount () Attributes specific to this function definition. |
Peta<String, AttrValue > | dapatkanAttrMap () Attributes specific to this function definition. |
Nilai Attr | getAttrOrDefault (kunci string, AttrValue defaultValue) Attributes specific to this function definition. |
Nilai Attr | getAttrOrThrow (kunci string) Attributes specific to this function definition. |
Peta<String, String> | dapatkanControlRet () Gunakan getControlRetMap() sebagai gantinya. |
ke dalam | dapatkanControlRetCount () A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
Peta<String, String> | dapatkanControlRetMap () A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
Rangkaian | getControlRetOrDefault (kunci string, String defaultValue) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
Rangkaian | getControlRetOrThrow (kunci string) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FungsiDef | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
Peta<Bilangan Bulat, FunctionDef.ArgAttrs > | dapatkanMutableArgAttr () Gunakan pengakses mutasi alternatif sebagai gantinya. |
Peta<String, AttrValue > | dapatkanMutableAttr () Gunakan pengakses mutasi alternatif sebagai gantinya. |
Peta<String, String> | dapatkanMutableControlRet () Gunakan pengakses mutasi alternatif sebagai gantinya. |
Peta<Bilangan Bulat, Bilangan Bulat> | getMutableResourceArgUniqueId () Gunakan pengakses mutasi alternatif sebagai gantinya. |
Peta<String, String> | dapatkanMutableRet () Gunakan pengakses mutasi alternatif sebagai gantinya. |
NodeDef | getNodeDef (indeks int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | getNodeDefBuilder (indeks int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Daftar< NodeDef.Builder > | getNodeDefBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
ke dalam | dapatkanNodeDefCount () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Daftar< NodeDef > | dapatkanNodeDefList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDefOrBuilder | getNodeDefOrBuilder (indeks int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Daftar<? memperluas NodeDefOrBuilder > | getNodeDefOrBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Peta<Bilangan Bulat, Bilangan Bulat> | dapatkanResourceArgUniqueId () Gunakan getResourceArgUniqueIdMap() sebagai gantinya. |
ke dalam | getResourceArgUniqueIdCount () Unique IDs for each resource argument, used to track aliasing resources. |
Peta<Bilangan Bulat, Bilangan Bulat> | dapatkanResourceArgUniqueIdMap () Unique IDs for each resource argument, used to track aliasing resources. |
ke dalam | getResourceArgUniqueIdOrDefault (kunci int, int defaultValue) Unique IDs for each resource argument, used to track aliasing resources. |
ke dalam | getResourceArgUniqueIdOrThrow (kunci int) Unique IDs for each resource argument, used to track aliasing resources. |
Peta<String, String> | dapatkanRet () Gunakan getRetMap() sebagai gantinya. |
ke dalam | dapatkanRetCount () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Peta<String, String> | dapatkanRetMap () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Rangkaian | getRetOrDefault (kunci string, String defaultValue) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Rangkaian | getRetOrThrow (kunci string) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
OpDef | dapatkan Tanda Tangan () The definition of the function's name, arguments, return values, attrs etc. |
OpDef.Builder | dapatkanSignatureBuilder () The definition of the function's name, arguments, return values, attrs etc. |
OpDefOrBuilder | dapatkanSignatureOrBuilder () The definition of the function's name, arguments, return values, attrs etc. |
boolean | memilikiTanda Tangan () The definition of the function's name, arguments, return values, attrs etc. |
boolean terakhir | |
FunctionDef.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
FunctionDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FunctionDef.Builder | mergeSignature (nilai OpDef ) The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
FunctionDef.Builder | putAllArgAttr (nilai Map<Integer, FunctionDef.ArgAttrs >) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | |
FunctionDef.Builder | putAllControlRet (nilai Peta<String, String>) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FunctionDef.Builder | putAllResourceArgUniqueId (nilai Peta<Bilangan Bulat, Bilangan Bulat>) Unique IDs for each resource argument, used to track aliasing resources. |
FunctionDef.Builder | putAllRet (nilai Peta<String, String>) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
FunctionDef.Builder | putArgAttr (kunci int, nilai FunctionDef.ArgAttrs ) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | |
FunctionDef.Builder | putControlRet (kunci string, nilai string) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FunctionDef.Builder | putResourceArgUniqueId (kunci int, nilai int) Unique IDs for each resource argument, used to track aliasing resources. |
FunctionDef.Builder | putRet (Kunci string, nilai string) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
FunctionDef.Builder | hapusArgAttr (kunci int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | hapusAttr (kunci string) Attributes specific to this function definition. |
FunctionDef.Builder | hapusControlRet (tombol string) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FunctionDef.Builder | hapusNodeDef (indeks int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | hapusResourceArgUniqueId (kunci int) Unique IDs for each resource argument, used to track aliasing resources. |
FunctionDef.Builder | hapusRet (kunci string) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
FunctionDef.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
FunctionDef.Builder | setNodeDef (indeks int, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | setNodeDef (indeks int, nilai NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
FunctionDef.Builder | setSignature (nilai OpDef ) The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder | setSignature ( OpDef.Builder pembangunForValue) The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Metode Warisan
Metode Publik
public FunctionDef.Builder addAllNodeDef (Nilai Iterable<? extends NodeDef >)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder addNodeDef (nilai NodeDef )
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
Public FunctionDef.Builder addNodeDef ( NodeDef.Builder builderForValue)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder addNodeDef (indeks int, NodeDef.Builder builderForValue)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder addNodeDef (indeks int, nilai NodeDef )
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
NodeDef.Builder publik addNodeDefBuilder ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
NodeDef.Builder publik addNodeDefBuilder (indeks int)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
Fungsi publikDef.Builder clearNodeDef ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
Fungsi publikDef.Builder clearSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
boolean publik berisi ArgAttr (kunci int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
boolean publik berisiAttr (kunci string)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
boolean publik berisiControlRet (kunci string)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
boolean publik berisiResourceArgUniqueId (kunci int)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
boolean publik berisiRet (kunci string)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
Peta publik<Bilangan Bulat, FunctionDef.ArgAttrs > getArgAttr ()
Gunakan getArgAttrMap()
sebagai gantinya.
int publik getArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Peta publik<Bilangan Bulat, FunctionDef.ArgAttrs > getArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrDefault (kunci int, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrThrow (kunci int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
int publik getAttrCount ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
Peta publik<String, AttrValue > getAttrMap ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public AttrValue getAttrOrDefault (kunci string, AttrValue defaultValue)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
AttrValue publik getAttrOrThrow (kunci string)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
int publik getControlRetCount ()
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
peta publik<String, String> getControlRetMap ()
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
String publik getControlRetOrDefault (kunci string, String defaultValue)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
String publik getControlRetOrThrow (kunci String)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
peta publik<Bilangan Bulat, FunctionDef.ArgAttrs > getMutableArgAttr ()
Gunakan pengakses mutasi alternatif sebagai gantinya.
Peta publik<String, AttrValue > getMutableAttr ()
Gunakan pengakses mutasi alternatif sebagai gantinya.
peta publik<String, String> getMutableControlRet ()
Gunakan pengakses mutasi alternatif sebagai gantinya.
peta publik<Bilangan Bulat, Bilangan Bulat> getMutableResourceArgUniqueId ()
Gunakan pengakses mutasi alternatif sebagai gantinya.
peta publik<String, String> getMutableRet ()
Gunakan pengakses mutasi alternatif sebagai gantinya.
NodeDef publik getNodeDef (indeks int)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
NodeDef.Builder publik getNodeDefBuilder (indeks int)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
Daftar publik< NodeDef.Builder > getNodeDefBuilderList ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
int publik getNodeDefCount ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
Daftar publik< NodeDef > getNodeDefList ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
NodeDefOrBuilder publik getNodeDefOrBuilder (indeks int)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
Daftar Publik<? memperluas NodeDefOrBuilder > getNodeDefOrBuilderList ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
peta publik<Bilangan Bulat, Bilangan Bulat> getResourceArgUniqueId ()
Gunakan getResourceArgUniqueIdMap()
sebagai gantinya.
int publik getResourceArgUniqueIdCount ()
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
peta publik<Bilangan Bulat, Bilangan Bulat> getResourceArgUniqueIdMap ()
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public int getResourceArgUniqueIdOrDefault (kunci int, int defaultValue)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public int getResourceArgUniqueIdOrThrow (kunci int)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
int publik getRetCount ()
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
peta publik<String, String> getRetMap ()
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
String publik getRetOrDefault (kunci string, String defaultValue)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
String publik getRetOrThrow (kunci string)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
getSignature OpDef publik ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
OpDef.Builder publik getSignatureBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
OpDefOrBuilder publik getSignatureOrBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
boolean publik hasSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
boolean akhir publik diinisialisasi ()
public FunctionDef.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
public FunctionDef.Builder mergeSignature (nilai OpDef )
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public final FunctionDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public FunctionDef.Builder putAllArgAttr (nilai Map<Integer, FunctionDef.ArgAttrs >)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAllAttr (nilai Peta<String, AttrValue >)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder putAllControlRet (nilai Peta<String, String>)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public FunctionDef.Builder putAllResourceArgUniqueId (nilai Map<Integer, Integer>)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public FunctionDef.Builder putAllRet (nilai Peta<String, String>)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public FunctionDef.Builder putArgAttr (kunci int, nilai FunctionDef.ArgAttrs )
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAttr (kunci string, nilai AttrValue )
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder putControlRet (kunci string, nilai string)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public FunctionDef.Builder putResourceArgUniqueId (kunci int, nilai int)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public FunctionDef.Builder putRet (kunci string, nilai string)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public FunctionDef.Builder deleteArgAttr (kunci int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder deleteAttr (kunci string)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder deleteControlRet (kunci string)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public FunctionDef.Builder deleteNodeDef (int indeks)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder deleteResourceArgUniqueId (kunci int)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public FunctionDef.Builder deleteRet (kunci string)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public FunctionDef.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
public FunctionDef.Builder setNodeDef (indeks int, NodeDef.Builder builderForValue)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder setNodeDef (indeks int, nilai NodeDef )
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
public FunctionDef.Builder setSignature (nilai OpDef )
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
publik FunctionDef.Builder setSignature ( OpDef.Builder builderForValue)
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;