clase final pública 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
Clases anidadas
clase | FunciónDef.ArgAttrs | Attributes for function arguments. | |
interfaz | FunciónDef.ArgAttrsOrBuilder | ||
clase | FunciónDef.Builder | A function can be instantiated when the runtime can bind every attr with a value. |
Constantes
entero | ARG_ATTR_FIELD_NUMBER | |
entero | ATTR_FIELD_NUMBER | |
entero | CONTROL_RET_FIELD_NUMBER | |
entero | NODE_DEF_FIELD_NUMBER | |
entero | RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER | |
entero | RET_FIELD_NUMBER | |
entero | FIRMA_CAMPO_NÚMERO |
Métodos públicos
booleano | contieneArgAttr (clave int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
booleano | contieneAttr (clave de cadena) Attributes specific to this function definition. |
booleano | contieneControlRet (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 | contieneResourceArgUniqueId (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 (Objeto obj) |
Mapa<Entero, FunctionDef.ArgAttrs > | getArgAttr () Utilice getArgAttrMap() en su lugar. |
entero | getArgAttrCount () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Mapa<Entero, FunctionDef.ArgAttrs > | getArgAttrMap () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunciónDef.ArgAttrs | getArgAttrOrDefault (tecla int, FunctionDef.ArgAttrs valor predeterminado) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunciónDef.ArgAttrs | getArgAttrOrThrow (tecla int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Mapa<Cadena, ValorAtributo > | obtenerAttr () Utilice getAttrMap() en su lugar. |
entero | getAttrCount () Attributes specific to this function definition. |
Mapa<Cadena, ValorAtributo > | getAttrMap () Attributes specific to this function definition. |
ValorAtributo | getAttrOrDefault (clave de cadena, AttrValue valor predeterminado) Attributes specific to this function definition. |
ValorAtributo | getAttrOrThrow (clave de cadena) Attributes specific to this function definition. |
Mapa<Cadena, Cadena> | obtenerControlRet () Utilice getControlRetMap() en su lugar. |
entero | 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. |
Cadena | 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. |
Cadena | getControlRetOrThrow (tecla de cadena) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
Definición de función estática | |
FunciónDef | |
com.google.protobuf.Descriptors.Descriptor estático final | |
NodoDef | getNodeDef (índice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
entero | 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. |
NodoDefOrBuilder | 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() en su lugar. |
entero | 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. |
entero | getResourceArgUniqueIdOrDefault (int clave, int defaultValue) Unique IDs for each resource argument, used to track aliasing resources. |
entero | getResourceArgUniqueIdOrThrow (clave int) Unique IDs for each resource argument, used to track aliasing resources. |
Mapa<Cadena, Cadena> | obtenerRet () Utilice getRetMap() en su lugar. |
entero | obtenerRetCount () 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> | obtenerRetMap () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Cadena | 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. |
Cadena | 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. |
entero | |
OpDef | obtener firma () 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. |
com.google.protobuf.UnknownFieldSet final | |
booleano | tiene firma () The definition of the function's name, arguments, return values, attrs etc. |
entero | código hash () |
booleano final | |
Función estáticaDef.Builder | |
Función estáticaDef.Builder | newBuilder (prototipo FunctionDef ) |
FunciónDef.Builder | |
Función estáticaDef | parseDelimitedFrom (entrada de InputStream) |
Función estáticaDef | parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Función estáticaDef | parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Función estáticaDef | parseFrom (entrada com.google.protobuf.CodedInputStream) |
Función estáticaDef | parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Función estáticaDef | parseFrom (datos de ByteBuffer) |
Función estáticaDef | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
Función estáticaDef | parseFrom (datos com.google.protobuf.ByteString) |
Definición de función estática | parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Definición de función estática | parseFrom (com.google.protobuf.ByteString datos, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
estático | analizador () |
FunciónDef.Builder | |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
int final estático público ARG_ATTR_FIELD_NUMBER
Valor constante: 7
int final estático público ATTR_FIELD_NUMBER
Valor constante: 5
int final estático público CONTROL_RET_FIELD_NUMBER
Valor constante: 6
int final estático público NODE_DEF_FIELD_NUMBER
Valor constante: 3
int final estático público RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER
Valor constante: 8
int final estático público RET_FIELD_NUMBER
Valor constante: 4
int final estático público SIGNATURE_FIELD_NUMBER
Valor constante: 1
Métodos públicos
booleano público contieneArgAttr (clave int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
booleano público contieneAttr (clave de cadena)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
booleano público contieneControlRet (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;
booleano público contieneResourceArgUniqueId (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;
booleano público 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.
map<string, string> ret = 4;
público booleano es igual (Objeto obj)
público int getArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Mapa público<Entero, FunctionDef.ArgAttrs > getArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
público FunctionDef.ArgAttrs getArgAttrOrDefault (clave int, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Función públicaDef.ArgAttrs getArgAttrOrThrow (tecla int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
público int getAttrCount ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
Mapa público<Cadena, 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;
público AttrValue getAttrOrThrow (clave de cadena)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
público 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;
Mapa público<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.
map<string, string> control_ret = 6;
cadena pública 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;
cadena pública 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 ()
público 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;
público 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;
público 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 ()
Mapa público<Entero, Entero> getResourceArgUniqueId ()
Utilice getResourceArgUniqueIdMap()
en su lugar.
público 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;
Mapa público<Entero, Entero> 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;
público int getResourceArgUniqueIdOrDefault (int clave, 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;
público 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;
público 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;
Mapa público<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.
map<string, string> ret = 4;
cadena pública 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;
cadena pública 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;
público int getSerializedSize ()
getSignature público de OpDef ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
público OpDefOrBuilder getSignatureOrBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
público final com.google.protobuf.UnknownFieldSet getUnknownFields ()
hasSignature público booleano ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
código hash int público ()
público final booleano isInitialized ()
FunctionDef estática pública parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOExcepción |
---|
FunctionDef parseFrom estático público (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
Excepción de buffer de protocolo no válido |
---|
FunctionDef público estático parseFrom (entrada com.google.protobuf.CodedInputStream)
Lanza
IOExcepción |
---|
FunctionDef estática pública parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
Excepción de buffer de protocolo no válido |
---|
FunctionDef estática pública parseFrom (datos ByteBuffer)
Lanza
Excepción de buffer de protocolo no válido |
---|
FunctionDef parseFrom estático público (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOExcepción |
---|
FunctionDef parseFrom estático público (datos com.google.protobuf.ByteString)
Lanza
Excepción de buffer de protocolo no válido |
---|
FunctionDef parseFrom estático público (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOExcepción |
---|
FunctionDef parseFrom estático público (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
Excepción de buffer de protocolo no válido |
---|
estática pública analizador ()
escritura vacía pública (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOExcepción |
---|