FunctionDef

classe 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

Classes aninhadas

aula FunçãoDef.ArgAttrs
 Attributes for function arguments. 
interface FunctionDef.ArgAttrsOrBuilder
aula FunçãoDef.Builder
 A function can be instantiated when the runtime can bind every attr
 with a value. 

Constantes

interno ARG_ATTR_FIELD_NUMBER
interno ATTR_FIELD_NUMBER
interno CONTROL_RET_FIELD_NUMBER
interno NODE_DEF_FIELD_NUMBER
interno RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER
interno RET_FIELD_NUMBER
interno SIGNATURE_FIELD_NUMBER

Métodos Públicos

boleano
contémArgAttr (chave int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
boleano
contémAttr (chave de string)
 Attributes specific to this function definition.
boleano
contémControlRet (chave de string)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
boleano
contémResourceArgUniqueId (chave int)
 Unique IDs for each resource argument, used to track aliasing resources.
boleano
contémRet (chave de string)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
boleano
é igual (objeto obj)
Mapa<Inteiro, FunctionDef.ArgAttrs >
getArgAttr ()
Use getArgAttrMap() em vez disso.
interno
getArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Mapa<Inteiro, FunctionDef.ArgAttrs >
getArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
FunçãoDef.ArgAttrs
getArgAttrOrDefault (chave int, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
FunçãoDef.ArgAttrs
getArgAttrOrThrow (chave int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Mapa<String, AttrValue >
getAttr ()
Use getAttrMap() em vez disso.
interno
getAttrCount ()
 Attributes specific to this function definition.
Mapa<String, AttrValue >
getAttrMap ()
 Attributes specific to this function definition.
Valor de atributo
getAttrOrDefault (chave de string, AttrValue defaultValue)
 Attributes specific to this function definition.
Valor de atributo
getAttrOrThrow (chave de string)
 Attributes specific to this function definition.
Mapa<String, String>
getControlRet ()
Use getControlRetMap() em vez disso.
interno
getControlRetCount ()
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
Mapa<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.
Corda
getControlRetOrDefault (chave de string, string defaultValue)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
Corda
getControlRetOrThrow (chave de string)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
Função estáticaDef
FunçãoDef
final estático com.google.protobuf.Descriptors.Descriptor
NodeDef
getNodeDef (índice interno)
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
interno
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 interno)
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
Lista<? estende NodeDefOrBuilder >
getNodeDefOrBuilderList ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
Mapa<Inteiro, Inteiro>
interno
getResourceArgUniqueIdCount ()
 Unique IDs for each resource argument, used to track aliasing resources.
Mapa<Inteiro, Inteiro>
getResourceArgUniqueIdMap ()
 Unique IDs for each resource argument, used to track aliasing resources.
interno
getResourceArgUniqueIdOrDefault (chave int, int defaultValue)
 Unique IDs for each resource argument, used to track aliasing resources.
interno
getResourceArgUniqueIdOrThrow (chave int)
 Unique IDs for each resource argument, used to track aliasing resources.
Mapa<String, String>
obterRet ()
Use getRetMap() em vez disso.
interno
getRetCount ()
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
Mapa<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.
Corda
getRetOrDefault (chave de string, string defaultValue)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
Corda
getRetOrThrow (chave de string)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
interno
OpDef
obterAssinatura ()
 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
boleano
temAssinatura ()
 The definition of the function's name, arguments, return values,
 attrs etc.
interno
booleano final
FunctionDef.Builder estático
FunctionDef.Builder estático
newBuilder (protótipo FunctionDef )
FunçãoDef.Builder
Função estáticaDef
parseDelimitedFrom (entrada InputStream)
Função estáticaDef
parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Função estáticaDef
parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Função estáticaDef
parseFrom (entrada com.google.protobuf.CodedInputStream)
Função estáticaDef
parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Função estáticaDef
parseFrom (dados de ByteBuffer)
Função estáticaDef
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Função estáticaDef
parseFrom (dados com.google.protobuf.ByteString)
Função estáticaDef
parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Função estáticaDef
parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
FunçãoDef.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

int final estático público 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

público estático final int NODE_DEF_FIELD_NUMBER

Valor Constante: 3

público estático final int RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER

Valor Constante: 8

público estático final int RET_FIELD_NUMBER

Valor Constante: 4

público estático final int SIGNATURE_FIELD_NUMBER

Valor Constante: 1

Métodos Públicos

booleano público contémArgAttr (chave int)

map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;

public boolean containsAttr (chave String)

 Attributes specific to this function definition.
 
map<string, .tensorflow.AttrValue> attr = 5;

booleano público contémControlRet (chave 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;

booleano público contémResourceArgUniqueId (chave 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 booleano contémRet (chave 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;

booleano público é igual (Object obj)

mapa público <inteiro, FunctionDef.ArgAttrs > getArgAttr ()

Use getArgAttrMap() em vez disso.

público int getArgAttrCount ()

map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;

mapa público <inteiro, FunctionDef.ArgAttrs > getArgAttrMap ()

map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;

public FunctionDef.ArgAttrs getArgAttrOrDefault (chave int, FunctionDef.ArgAttrs defaultValue)

map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;

public FunctionDef.ArgAttrs getArgAttrOrThrow (chave int)

map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;

mapa público<String, AttrValue > getAttr ()

Use getAttrMap() em vez disso.

público int getAttrCount ()

 Attributes specific to this function definition.
 
map<string, .tensorflow.AttrValue> attr = 5;

mapa público<String, AttrValue > getAttrMap ()

 Attributes specific to this function definition.
 
map<string, .tensorflow.AttrValue> attr = 5;

public AttrValue getAttrOrDefault (chave de string, AttrValue defaultValue)

 Attributes specific to this function definition.
 
map<string, .tensorflow.AttrValue> attr = 5;

público AttrValue getAttrOrThrow (chave de string)

 Attributes specific to this function definition.
 
map<string, .tensorflow.AttrValue> attr = 5;

mapa público<String, String> getControlRet ()

Use getControlRetMap() em vez disso.

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<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;

string pública getControlRetOrDefault (chave de string, string defaultValue)

 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 pública getControlRetOrThrow (chave de 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;

função estática públicaDef getDefaultInstance ()

public FunctionDef getDefaultInstanceForType ()

final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()

público NodeDef getNodeDef (índice interno)

 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;

publicint 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<? estende 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<Integer, Integer> getResourceArgUniqueId ()

Use getResourceArgUniqueIdMap() em vez disso.

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<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;

público int getResourceArgUniqueIdOrDefault (chave int, 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 (chave 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<String, String> getRet ()

Use getRetMap() em vez disso.

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<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;

string pública getRetOrDefault (chave de string, string defaultValue)

 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 pública getRetOrThrow (chave de 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;

público int getSerializedSize ()

pública OpDef getSignature ()

 The definition of the function's name, arguments, return values,
 attrs etc.
 
.tensorflow.OpDef signature = 1;

público OpDefOrBuildergetSignatureOrBuilder ( )

 The definition of the function's name, arguments, return values,
 attrs etc.
 
.tensorflow.OpDef signature = 1;

final público com.google.protobuf.UnknownFieldSet getUnknownFields ()

hasSignature booleano público ()

assinatura

 The definition of the function's name, arguments, return values,
 attrs etc.
 
.tensorflow.OpDef signature = 1;

hashCode int público ()

público final booleano isInitialized ()

função estática públicaDef.Builder newBuilder ()

public static FunctionDef.Builder newBuilder (protótipo FunctionDef )

função públicaDef.Builder newBuilderForType ()

public static FunctionDef parseDelimitedFrom (entrada InputStream)

Lança
IOException

public static FunctionDef parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static FunctionDef parseFrom (dados ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static FunctionDef parseFrom (entrada com.google.protobuf.CodedInputStream)

Lança
IOException

public static FunctionDef parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static FunctionDef parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

public static FunctionDef parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static FunctionDef parseFrom (dados com.google.protobuf.ByteString)

Lança
InvalidProtocolBufferException

public static FunctionDef parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static FunctionDef parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

estática pública analisador ()

public void writeTo (saída com.google.protobuf.CodedOutputStream)

Lança
IOException