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
Публичные методы
FunctionDef.Builder | addAllNodeDef (Iterable<? расширяет значения NodeDef >) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef (значение NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef ( NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef (индекс int, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef (индекс int, значение NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | адднодедефбуилдер () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | addNodeDefBuilder (индекс int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
ФункцияDef | строить () |
ФункцияDef | |
FunctionDef.Builder | прозрачный () |
FunctionDef.Builder | |
FunctionDef.Builder | очиститьАттр () |
FunctionDef.Builder | |
FunctionDef.Builder | ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) |
FunctionDef.Builder | очиститьнодедеф () 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 | ОчиститьРет () |
FunctionDef.Builder | ОчиститьПодпись () The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder | клон () |
логическое значение | содержитArgAttr (целый ключ) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
логическое значение | содержитAttr (строковый ключ) Attributes specific to this function definition. |
логическое значение | содержитControlRet (строковый ключ) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
логическое значение | содержитResourceArgUniqueId (ключ int) Unique IDs for each resource argument, used to track aliasing resources. |
логическое значение | содержитRet (строковый ключ) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Map<Integer, FunctionDef.ArgAttrs > | getArgAttr () Вместо этого используйте getArgAttrMap() . |
интервал | getArgAttrCount () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Map<Integer, FunctionDef.ArgAttrs > | getArgAttrMap () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.ArgAttrs | getArgAttrOrDefault (ключ int, FunctionDef.ArgAttrs defaultValue) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.ArgAttrs | getArgAttrOrThrow (ключ int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Карта<String, AttrValue > | getAttr () Вместо этого используйте getAttrMap() . |
интервал | getAttrCount () Attributes specific to this function definition. |
Карта<String, AttrValue > | getAттрмап () Attributes specific to this function definition. |
Атрвалуе | getAttrOrDefault (строковый ключ, AttrValue defaultValue) Attributes specific to this function definition. |
Атрвалуе | getAttrOrThrow (строковый ключ) Attributes specific to this function definition. |
Карта<Строка, Строка> | получитьКонтрольРет () Вместо этого используйте getControlRetMap() . |
интервал | getControlRetCount () A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
Карта<Строка, Строка> | getControlRetMap () A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
Нить | getControlRetOrDefault (строковый ключ, строковое значение по умолчанию) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
Нить | getControlRetOrThrow (строковый ключ) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
ФункцияDef | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Map<Integer, FunctionDef.ArgAttrs > | getMutableArgAttr () Вместо этого используйте альтернативные методы доступа к мутациям. |
Карта<String, AttrValue > | getMutableAttr () Вместо этого используйте альтернативные методы доступа к мутациям. |
Карта<Строка, Строка> | getMutableControlRet () Вместо этого используйте альтернативные методы доступа к мутациям. |
Карта<Целое число, Целое число> | getMutableResourceArgUniqueId () Вместо этого используйте альтернативные методы доступа к мутациям. |
Карта<Строка, Строка> | getMutableRet () Вместо этого используйте альтернативные методы доступа к мутациям. |
NodeDef | getNodeDef (целочисленный индекс) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | getNodeDefBuilder (индекс int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Список< NodeDef.Builder > | getNodeDefBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
интервал | getNodeDefCount () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Список< NodeDef > | getNodeDefList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDefOrBuilder | getNodeDefOrBuilder (индекс int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Список <? расширяет NodeDefOrBuilder > | getNodeDefOrBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Карта<Целое число, Целое число> | getResourceArgUniqueId () Вместо этого используйте getResourceArgUniqueIdMap() . |
интервал | getResourceArgUniqueIdCount () Unique IDs for each resource argument, used to track aliasing resources. |
Карта<Целое число, Целое число> | getResourceArgUniqueIdMap () Unique IDs for each resource argument, used to track aliasing resources. |
интервал | getResourceArgUniqueIdOrDefault (ключ int, int defaultValue) Unique IDs for each resource argument, used to track aliasing resources. |
интервал | getResourceArgUniqueIdOrThrow (ключ int) Unique IDs for each resource argument, used to track aliasing resources. |
Карта<Строка, Строка> | получитьРет () Вместо этого используйте getRetMap() . |
интервал | getRetCount () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Карта<Строка, Строка> | получитьРетМап () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Нить | getRetOrDefault (строковый ключ, строковое значение по умолчанию) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Нить | getRetOrThrow (строковый ключ) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
ОпДеф | получитьподпись () The definition of the function's name, arguments, return values, attrs etc. |
OpDef.Builder | getSignatureBuilder () The definition of the function's name, arguments, return values, attrs etc. |
ОпДефОрБилдер | getSignatureOrBuilder () The definition of the function's name, arguments, return values, attrs etc. |
логическое значение | имеетПодпись () The definition of the function's name, arguments, return values, attrs etc. |
последнее логическое значение | |
FunctionDef.Builder | mergeFrom (com.google.protobuf.Message другое) |
FunctionDef.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
FunctionDef.Builder | mergeSignature (значение OpDef ) The definition of the function's name, arguments, return values, attrs etc. |
окончательный FunctionDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
FunctionDef.Builder | putAllArgAttr (Map<Integer, FunctionDef.ArgAttrs > значения) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | |
FunctionDef.Builder | putAllControlRet (значения Map<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 (значения Map<Integer, Integer>) Unique IDs for each resource argument, used to track aliasing resources. |
FunctionDef.Builder | putAllRet (значения Map<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 (ключ int, значение FunctionDef.ArgAttrs ) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | |
FunctionDef.Builder | putControlRet (строковый ключ, строковое значение) 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 (целое число, целое значение) Unique IDs for each resource argument, used to track aliasing resources. |
FunctionDef.Builder | putRet (строковый ключ, строковое значение) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
FunctionDef.Builder | удалитьArgAttr (целый ключ) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | RemoveAttr (строковый ключ) Attributes specific to this function definition. |
FunctionDef.Builder | RemoveControlRet (строковый ключ) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FunctionDef.Builder | удалитьNodeDef (индекс целого числа) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | RemoveResourceArgUniqueId (ключ int) Unique IDs for each resource argument, used to track aliasing resources. |
FunctionDef.Builder | RemoveRet (строковый ключ) 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 (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
FunctionDef.Builder | setNodeDef (индекс int, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | setNodeDef (индекс int, значение NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
FunctionDef.Builder | setSignature (значение OpDef ) The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder | setSignature ( OpDef.Builder builderForValue) The definition of the function's name, arguments, return values, attrs etc. |
окончательный FunctionDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
Унаследованные методы
Публичные методы
public FunctionDef.Builder addAllNodeDef (Iterable<? расширяет значения 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 )
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;
общедоступный 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 (индекс 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 (индекс int, значение 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 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 addNodeDefBuilder (индекс 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 (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
общедоступный FunctionDef.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;
общедоступный FunctionDef.Builder ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
общедоступный FunctionDef.Builder ClearSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
общедоступное логическое значение containsArgAttr (ключ int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
общедоступное логическое значение containsAttr (строковый ключ)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
общедоступное логическое значение containsControlRet (строковый ключ)
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;
общедоступное логическое значение containsResourceArgUniqueId (ключ 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;
общедоступное логическое значение containsRet (строковый ключ)
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 int getArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public Map<Integer, FunctionDef.ArgAttrs > getArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
общедоступный FunctionDef.ArgAttrs getArgAttrOrDefault (ключ int, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
общедоступный FunctionDef.ArgAttrs getArgAttrOrThrow (ключ int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public int getAttrCount ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
общедоступная карта<String, AttrValue > getAttrMap ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public AttrValue getAttrOrDefault (строковый ключ, AttrValue defaultValue)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
общедоступный AttrValue getAttrOrThrow (строковый ключ)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public int 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;
общедоступная карта<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;
общедоступная строка getControlRetOrDefault (строковый ключ, строковое значение по умолчанию)
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;
общедоступная строка getControlRetOrThrow (строковый ключ)
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;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public Map<Integer, FunctionDef.ArgAttrs > getMutableArgAttr ()
Вместо этого используйте альтернативные методы доступа к мутациям.
общедоступная карта <String, AttrValue > getMutableAttr ()
Вместо этого используйте альтернативные методы доступа к мутациям.
общедоступная карта<String, String> getMutableControlRet ()
Вместо этого используйте альтернативные методы доступа к мутациям.
public Map<Integer, Integer> getMutableResourceArgUniqueId ()
Вместо этого используйте альтернативные методы доступа к мутациям.
общедоступная карта<String, String> getMutableRet ()
Вместо этого используйте альтернативные методы доступа к мутациям.
public NodeDef getNodeDef (индекс 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 getNodeDefBuilder (индекс 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 > 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;
public int 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;
общедоступный список < 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 getNodeDefOrBuilder (индекс 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;
общедоступный список<? расширяет 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;
public Map<Integer, Integer> getResourceArgUniqueId ()
Вместо этого используйте getResourceArgUniqueIdMap()
.
public int 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;
public Map<Integer, Integer> 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 (int key, 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 (ключ 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 int 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;
общедоступная карта<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;
общедоступная строка getRetOrDefault (строковый ключ, строковое значение по умолчанию)
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;
публичная строка getRetOrThrow (строковый ключ)
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;
общедоступный OpDef getSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
общедоступный OpDef.Builder getSignatureBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
общедоступный OpDefOrBuilder getSignatureOrBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
общедоступное логическое значение hasSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
публичное окончательное логическое значение isInitialized ()
общедоступный FunctionDef.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
public FunctionDef.Builder mergeSignature (значение OpDef )
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
общедоступный финальный FunctionDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
общедоступный FunctionDef.Builder putAllArgAttr (значения Map<Integer, FunctionDef.ArgAttrs >)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAllAttr (значения Map<String, AttrValue >)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder putAllControlRet (значения Map<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 (значения 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 (значения Map<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;
общедоступный FunctionDef.Builder putArgAttr (ключ int, значение FunctionDef.ArgAttrs )
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAttr (строковый ключ, значение AttrValue )
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder putControlRet (строковый ключ, строковое значение)
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 (ключ int, значение 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 (строковый ключ, строковое значение)
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;
общедоступный FunctionDef.Builder RemoveArgAttr (ключ int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
общедоступный FunctionDef.Builder RemoveAttr (строковый ключ)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
общедоступный FunctionDef.Builder RemoveControlRet (строковый ключ)
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 RemoveNodeDef (индекс 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;
общедоступный FunctionDef.Builder RemoveResourceArgUniqueId (ключ 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;
общедоступный FunctionDef.Builder RemoveRet (строковый ключ)
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;
общедоступный FunctionDef.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public FunctionDef.Builder setNodeDef (индекс 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 (индекс int, значение 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 (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
public FunctionDef.Builder setSignature (значение OpDef )
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public FunctionDef.Builder setSignature ( OpDef.Builder builderForValue)
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;