FunctionDef de clase final pública
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 de tipo
tensorflow.FunctionDef Clases anidadas
| clase | FunctionDef.ArgAttrs | Attributes for function arguments. | |
| interfaz | FunctionDef.ArgAttrsOrBuilder | ||
| clase | FunctionDef.Builder | A function can be instantiated when the runtime can bind every attr with a value. | |
Constantes
| En t | ARG_ATTR_FIELD_NUMBER | |
| En t | ATTR_FIELD_NUMBER | |
| En t | CONTROL_RET_FIELD_NUMBER | |
| En t | NODE_DEF_FIELD_NUMBER | |
| En t | RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER | |
| En t | RET_FIELD_NUMBER | |
| En t | SIGNATURE_FIELD_NUMBER |
Métodos públicos
| booleano | containsArgAttr (clave int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| booleano | containsAttr (clave de cadena) Attributes specific to this function definition. |
| booleano | containsControlRet (clave de cadena) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| booleano | containsResourceArgUniqueId (clave int) Unique IDs for each resource argument, used to track aliasing resources. |
| booleano | contieneRet (clave de cadena) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| booleano | es igual a (Objeto obj) |
| Map <Entero, FunctionDef.ArgAttrs > | getArgAttr () Utilice getArgAttrMap() lugar. |
| En t | getArgAttrCount () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| Map <Entero, FunctionDef.ArgAttrs > | getArgAttrMap () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| FunctionDef.ArgAttrs | getArgAttrOrDefault (tecla int, FunctionDef.ArgAttrs defaultValue) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| FunctionDef.ArgAttrs | getArgAttrOrThrow (clave int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| Mapa <String, AttrValue > | getAttr () Utilice getAttrMap() lugar. |
| En t | getAttrCount () Attributes specific to this function definition. |
| Mapa <String, AttrValue > | getAttrMap () Attributes specific to this function definition. |
| AttrValue | getAttrOrDefault (clave de cadena, AttrValue defaultValue ) Attributes specific to this function definition. |
| AttrValue | getAttrOrThrow (clave de cadena) Attributes specific to this function definition. |
| Mapa <Cadena, Cadena> | getControlRet () Utilice getControlRetMap() lugar. |
| En t | getControlRetCount () A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| Mapa <Cadena, Cadena> | getControlRetMap () A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| Cuerda | getControlRetOrDefault (clave de cadena, valor predeterminado de cadena) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| Cuerda | getControlRetOrThrow (clave de cadena) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| estática FunctionDef | |
| FunctionDef | |
| com.google.protobuf.Descriptors.Descriptor estático final | |
| NodeDef | getNodeDef (índice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| En t | getNodeDefCount () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| Lista < NodeDef > | getNodeDefList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| NodeDefOrBuilder | getNodeDefOrBuilder (índice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| Lista <? extiende NodeDefOrBuilder > | getNodeDefOrBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| Mapa <entero, entero> | getResourceArgUniqueId () Utilice getResourceArgUniqueIdMap() lugar. |
| En t | getResourceArgUniqueIdCount () Unique IDs for each resource argument, used to track aliasing resources. |
| Mapa <entero, entero> | getResourceArgUniqueIdMap () Unique IDs for each resource argument, used to track aliasing resources. |
| En t | getResourceArgUniqueIdOrDefault (clave int, valor predeterminado int) Unique IDs for each resource argument, used to track aliasing resources. |
| En t | getResourceArgUniqueIdOrThrow (clave int) Unique IDs for each resource argument, used to track aliasing resources. |
| Mapa <Cadena, Cadena> | getRet () Utilice getRetMap() lugar. |
| En t | getRetCount () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| Mapa <Cadena, Cadena> | getRetMap () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| Cuerda | getRetOrDefault (clave de cadena, valor predeterminado de cadena) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| Cuerda | getRetOrThrow (clave de cadena) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| En t | |
| OpDef | getSignature () The definition of the function's name, arguments, return values, attrs etc. |
| OpDefOrBuilder | getSignatureOrBuilder () The definition of the function's name, arguments, return values, attrs etc. |
| final com.google.protobuf.UnknownFieldSet | |
| booleano | hasSignature () The definition of the function's name, arguments, return values, attrs etc. |
| En t | hashCode () |
| booleano final | |
| estático FunctionDef.Builder | newBuilder () |
| estático FunctionDef.Builder | newBuilder (prototipo FunctionDef ) |
| FunctionDef.Builder | |
| estática FunctionDef | parseDelimitedFrom (entrada InputStream) |
| estática FunctionDef | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estática FunctionDef | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estática FunctionDef | parseFrom (entrada com.google.protobuf.CodedInputStream) |
| estática FunctionDef | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estática FunctionDef | parseFrom (datos ByteBuffer) |
| estática FunctionDef | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estática FunctionDef | parseFrom (datos com.google.protobuf.ByteString) |
| estática FunctionDef | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estática FunctionDef | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estático | analizador () |
| FunctionDef.Builder | toBuilder () |
| vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
public static final int ARG_ATTR_FIELD_NUMBER
Valor constante: 7
público estático final int ATTR_FIELD_NUMBER
Valor constante: 5
público estático final int CONTROL_RET_FIELD_NUMBER
Valor constante: 6
public static final int NODE_DEF_FIELD_NUMBER
Valor constante: 3
public static final int RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER
Valor constante: 8
public static final int RET_FIELD_NUMBER
Valor constante: 4
public static final int SIGNATURE_FIELD_NUMBER
Valor constante: 1
Métodos públicos
public boolean containsArgAttr (clave int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public boolean containsAttr (clave de cadena)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;public boolean containsControlRet (clave de cadena)
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 boolean containsResourceArgUniqueId (clave 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 boolean containsRet (clave de cadena)
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 boolean es igual a (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;
public FunctionDef.ArgAttrs getArgAttrOrDefault (clave int, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrThrow (clave int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public int getAttrCount ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;public Map <String, AttrValue > getAttrMap ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; public AttrValue getAttrOrDefault (clave de cadena, AttrValue defaultValue )
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;public AttrValue getAttrOrThrow (clave de cadena)
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;public Map <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;public String getControlRetOrDefault (clave de cadena, valor predeterminado de cadena)
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 String getControlRetOrThrow (clave de cadena)
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;público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public NodeDef getNodeDef (índice 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;Lista pública < 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;public NodeDefOrBuilder getNodeDefOrBuilder (índice 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;Lista pública <? extiende 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; público getParserForType ()
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 (clave int, valor predeterminado 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 getResourceArgUniqueIdOrThrow (clave 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;public Map <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;public String getRetOrDefault (clave de cadena, valor predeterminado de cadena)
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 String getRetOrThrow (clave de cadena)
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 ()
public OpDef getSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;public OpDefOrBuilder getSignatureOrBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public boolean hasSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;public int hashCode ()
public final boolean isInitialized ()
public static FunctionDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOException |
|---|
public static FunctionDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| InvalidProtocolBufferException |
|---|
FunctionDef estática pública parseFrom (entrada com.google.protobuf.CodedInputStream)
Lanza
| IOException |
|---|
public static FunctionDef parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| InvalidProtocolBufferException |
|---|
public static FunctionDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOException |
|---|
FunctionDef estática pública parseFrom (datos de com.google.protobuf.ByteString)
Lanza
| InvalidProtocolBufferException |
|---|
public static FunctionDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOException |
|---|
public static FunctionDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| InvalidProtocolBufferException |
|---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
| IOException |
|---|