FunctionDef

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.
 
Protobuf tipo 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

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 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.
En t
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.
En t
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.
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.
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.
Función estáticaDef
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.
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.
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>
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 (int clave, int defaultValue)
 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>
obtenerRet ()
Utilice getRetMap() en su lugar.
En t
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.
En t
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.
En t
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)
Función estáticaDef
parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Función estáticaDef
parseFrom (com.google.protobuf.ByteString datos, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
estático
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)

Mapa público<Entero, FunctionDef.ArgAttrs > getArgAttr ()

Utilice getArgAttrMap() en su lugar.

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;

Mapa público<Cadena, AttrValue > getAttr ()

Utilice getAttrMap() en su lugar.

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;

Mapa público<Cadena, Cadena> getControlRet ()

Utilice getControlRetMap() en su lugar.

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;

FunctionDef estática pública getDefaultInstance ()

Función públicaDef getDefaultInstanceForType ()

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;

Mapa público<Cadena, Cadena> getRet ()

Utilice getRetMap() en su lugar.

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.Builder estático público newBuilder ()

FunctionDef.Builder estático público newBuilder (prototipo FunctionDef )

función públicaDef.Builder newBuilderForType ()

FunctionDef estática pública parseDelimitedFrom (entrada de InputStream)

Lanza
IOExcepción

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 ()

función públicaDef.Builder toBuilder ()

escritura vacía pública (salida de com.google.protobuf.CodedOutputStream)

Lanza
IOExcepción