публичный финальный класс FunctionDef
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.ArgAttrs | Attributes for function arguments. | |
| интерфейс | FunctionDef.ArgAttrsOrBuilder | ||
| сорт | FunctionDef.Builder | A function can be instantiated when the runtime can bind every attr with a value. | |
Константы
| интервал | ARG_ATTR_FIELD_NUMBER | |
| интервал | ATTR_FIELD_NUMBER | |
| интервал | CONTROL_RET_FIELD_NUMBER | |
| интервал | NODE_DEF_FIELD_NUMBER | |
| интервал | RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER | |
| интервал | RET_FIELD_NUMBER | |
| интервал | SIGNATURE_FIELD_NUMBER | 
Публичные методы
| логическое значение |  содержит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. | 
| логическое значение |  равно (Объект obj) | 
| 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 (ключ целого типа) 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. | 
| статический FunctionDef | |
| ФункцияDef | |
| окончательный статический com.google.protobuf.Descriptors.Descriptor | |
| NodeDef |  getNodeDef (целочисленный индекс)  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. | 
| ОпДефОрБилдер |  getSignatureOrBuilder ()  The definition of the function's name, arguments, return values, attrs etc. | 
| окончательный com.google.protobuf.UnknownFieldSet | |
| логическое значение |  имеетПодпись ()  The definition of the function's name, arguments, return values, attrs etc. | 
| интервал |  хэш-код () | 
| последнее логическое значение | |
| статический FunctionDef.Builder | |
| статический FunctionDef.Builder |  newBuilder (прототип FunctionDef ) | 
| FunctionDef.Builder | |
| статический FunctionDef |  parseDelimitedFrom (входной поток) | 
| статический FunctionDef |  parseDelimitedFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) | 
| статический FunctionDef |  parseFrom (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) | 
| статический FunctionDef |  parseFrom (вход com.google.protobuf.CodedInputStream) | 
| статический FunctionDef |  parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) | 
| статический FunctionDef |  parseFrom (данные ByteBuffer) | 
| статический FunctionDef |  parseFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) | 
| статический FunctionDef |  parseFrom (данные com.google.protobuf.ByteString) | 
| статический FunctionDef |  parseFrom (ввод входного потока, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) | 
| статический FunctionDef |  parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) | 
| статический |  парсер () | 
| FunctionDef.Builder |  toBuilder () | 
| пустота |  writeTo (вывод com.google.protobuf.CodedOutputStream)  | 
Унаследованные методы
Константы
общедоступный статический финал int ARG_ATTR_FIELD_NUMBER
 Постоянное значение: 7 
общедоступный статический окончательный int ATTR_FIELD_NUMBER
 Постоянное значение: 5 
общедоступный статический окончательный int CONTROL_RET_FIELD_NUMBER
 Постоянное значение: 6 
общедоступный статический окончательный int NODE_DEF_FIELD_NUMBER
 Постоянное значение: 3 
общедоступный статический окончательный int RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER
 Постоянное значение: 8 
общедоступный статический окончательный int RET_FIELD_NUMBER
 Постоянное значение: 4 
общедоступный статический окончательный int SIGNATURE_FIELD_NUMBER
 Постоянное значение: 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; общедоступное логическое значение равно (Object obj)
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 ()
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; 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; public int getSerializedSize ()
общедоступный OpDef getSignature ()
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; публичный финал com.google.protobuf.UnknownFieldSet getUnknownFields ()
общедоступное логическое значение hasSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1; public int hashCode ()
публичное окончательное логическое значение isInitialized ()
общедоступный статический FunctionDef parseDelimitedFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Исключение IO | 
|---|
общедоступный статический FunctionDef parseFrom (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Инвалидпротоколбуфферисключение | 
|---|
общедоступный статический FunctionDef parseFrom (вход com.google.protobuf.CodedInputStream)
Броски
| Исключение IO | 
|---|
общедоступный статический FunctionDef parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Инвалидпротоколбуфферисключение | 
|---|
общедоступный статический FunctionDef parseFrom (данные ByteBuffer)
Броски
| Инвалидпротоколбуфферисключение | 
|---|
общедоступный статический FunctionDef parseFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Исключение IO | 
|---|
общедоступный статический FunctionDef parseFrom (данные com.google.protobuf.ByteString)
Броски
| Инвалидпротоколбуфферисключение | 
|---|
общедоступный статический FunctionDef parseFrom (вход InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Исключение IO | 
|---|
общедоступный статический FunctionDef parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Инвалидпротоколбуфферисключение | 
|---|
 общественный статический
public void writeTo (вывод com.google.protobuf.CodedOutputStream)
Броски
| Исключение IO | 
|---|