FunctionDef

classe finale pubblica 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.
 
Tipo protobuf tensorflow.FunctionDef

Classi nidificate

classe FunzioneDef.ArgAttrs
 Attributes for function arguments. 
interfaccia FunctionDef.ArgAttrsOrBuilder
classe FunzioneDef.Builder
 A function can be instantiated when the runtime can bind every attr
 with a value. 

Costanti

int ARG_ATTR_FIELD_NUMBER
int ATTR_FIELD_NUMBER
int CONTROL_RET_FIELD_NUMBER
int NODE_DEF_FIELD_NUMBER
int RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER
int RET_FIELD_NUMBER
int FIRMA_FIELD_NUMBER

Metodi pubblici

booleano
contieneArgAttr (chiave int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
booleano
contieneAttr (chiave String)
 Attributes specific to this function definition.
booleano
contieneControlRet (chiave String)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
booleano
contieneResourceArgUniqueId (chiave int)
 Unique IDs for each resource argument, used to track aliasing resources.
booleano
contieneRet (chiave String)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
booleano
è uguale a (Oggetto oggetto)
Map<intero, FunctionDef.ArgAttrs >
getArgAttr ()
Utilizzare invece getArgAttrMap() .
int
getArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Map<intero, FunctionDef.ArgAttrs >
getArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
FunzioneDef.ArgAttrs
getArgAttrOrDefault (chiave int, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
FunzioneDef.ArgAttrs
getArgAttrOrThrow (tasto int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Mappa<String, AttrValue >
getAttr ()
Utilizzare invece getAttrMap() .
int
getAttrCount ()
 Attributes specific to this function definition.
Mappa<String, AttrValue >
getAttrMap ()
 Attributes specific to this function definition.
AttrValue
getAttrOrDefault (chiave String, AttrValue defaultValue)
 Attributes specific to this function definition.
AttrValue
getAttrOrThrow (chiave String)
 Attributes specific to this function definition.
Mappa<Stringa, Stringa>
getControlRet ()
Utilizzare invece getControlRetMap() .
int
getControlRetCount ()
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
Mappa<Stringa, Stringa>
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 (chiave 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 (chiave String)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
Funzione staticaDef
FunzioneDef
com.google.protobuf.Descriptors.Descriptor statico finale
NodoDef
getNodeDef (indice int)
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
int
getNodeDefCount ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
Elenco< NodeDef >
getNodeDefList ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
NodeDefOrBuilder
getNodeDefOrBuilder (indice int)
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
Elenco<? estende NodeDefOrBuilder >
getNodeDefOrBuilderList ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
Mappa<Intero, Intero>
int
getResourceArgUniqueIdCount ()
 Unique IDs for each resource argument, used to track aliasing resources.
Mappa<Intero, Intero>
getResourceArgUniqueIdMap ()
 Unique IDs for each resource argument, used to track aliasing resources.
int
getResourceArgUniqueIdOrDefault (chiave int, valore predefinito int)
 Unique IDs for each resource argument, used to track aliasing resources.
int
getResourceArgUniqueIdOrThrow (chiave int)
 Unique IDs for each resource argument, used to track aliasing resources.
Mappa<Stringa, Stringa>
getRet ()
Utilizzare invece getRetMap() .
int
getRetCount ()
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
Mappa<Stringa, Stringa>
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 (chiave 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 (chiave String)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
int
OpDef
getFirma ()
 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.
finale com.google.protobuf.UnknownFieldSet
booleano
haFirma ()
 The definition of the function's name, arguments, return values,
 attrs etc.
int
booleano finale
FunctionDef.Builder statico
FunctionDef.Builder statico
newBuilder (prototipo FunctionDef )
FunzioneDef.Builder
Funzione staticaDef
parseDelimitedFrom (input InputStream)
Funzione staticaDef
parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Funzione staticaDef
parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Funzione staticaDef
parseFrom (ingresso com.google.protobuf.CodedInputStream)
Funzione staticaDef
parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Funzione staticaDef
parseFrom (dati ByteBuffer)
Funzione staticaDef
parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
Funzione staticaDef
parseFrom (dati com.google.protobuf.ByteString)
Funzione staticaDef
parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Funzione staticaDef
parseFrom (dati com.google.protobuf.ByteString, estensione Com.google.protobuf.ExtensionRegistryLiteRegistry)
statico
FunzioneDef.Builder
vuoto
writeTo (output com.google.protobuf.CodedOutputStream)

Metodi ereditati

Costanti

pubblico statico finale int ARG_ATTR_FIELD_NUMBER

Valore costante: 7

public static final int ATTR_FIELD_NUMBER

Valore costante: 5

public static final int CONTROL_RET_FIELD_NUMBER

Valore costante: 6

public static final int NODE_DEF_FIELD_NUMBER

Valore costante: 3

public static final int RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER

Valore costante: 8

public static final int RET_FIELD_NUMBER

Valore costante: 4

public static final int SIGNATURE_FIELD_NUMBER

Valore costante: 1

Metodi pubblici

booleano pubblico contieneArgAttr (chiave int)

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

booleano pubblico contieneAttr (chiave String)

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

booleano pubblico contieneControlRet (chiave 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 pubblico contieneResourceArgUniqueId (chiave 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 pubblico contieneRet (chiave 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 pubblico è uguale a (Oggetto obj)

public Map<Integer, FunctionDef.ArgAttrs > getArgAttr ()

Utilizzare invece getArgAttrMap() .

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 (chiave int, FunctionDef.ArgAttrs defaultValue)

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

public FunctionDef.ArgAttrs getArgAttrOrThrow (tasto int)

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

mappa pubblica<String, AttrValue > getAttr ()

Utilizzare invece getAttrMap() .

public int getAttrCount ()

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

mappa pubblica<String, AttrValue > getAttrMap ()

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

public AttrValue getAttrOrDefault (chiave String, AttrValue defaultValue)

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

public AttrValue getAttrOrThrow (chiave String)

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

public Map<String, String> getControlRet ()

Utilizzare invece getControlRetMap() .

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

public String getControlRetOrThrow (chiave 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;

public static FunctionDef getDefaultInstance ()

public FunctionDef getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public NodeDef getNodeDef (indice 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;

Elenco pubblico< 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 (indice 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;

Elenco pubblico<? 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;

pubblico getParserForType ()

mappa pubblica<intero, intero> getResourceArgUniqueId ()

Utilizzare invece 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<intero, intero> 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 (chiave 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;

public int getResourceArgUniqueIdOrThrow (chiave 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 Map<String, String> getRet ()

Utilizzare invece getRetMap() .

pubblico 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 (chiave 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;

public String getRetOrThrow (chiave 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;

public int getSerializedSize ()

public OpDef getSignature ()

firma

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

public OpDefOrBuilder getSignatureOrBuilder ()

firma

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

pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()

hasSignature booleano pubblico ()

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

public int hashCode ()

public final booleano isInitialized ()

public static FunctionDef.Builder newBuilder ()

public static FunctionDef.Builder newBuilder (prototipo FunctionDef )

public FunctionDef.Builder newBuilderForType ()

public static FunctionDef parseDelimitedFrom (input InputStream)

Lancia
IOException

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

Lancia
IOException

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

Lancia
InvalidProtocolBufferException

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

Lancia
IOException

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

Lancia
InvalidProtocolBufferException

parseFrom public static FunctionDef (dati ByteBuffer)

Lancia
InvalidProtocolBufferException

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

Lancia
IOException

parseFrom pubblico statico FunctionDef (dati com.google.protobuf.ByteString)

Lancia
InvalidProtocolBufferException

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

Lancia
IOException

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

Lancia
InvalidProtocolBufferException

pubblico statico analizzatore ()

public FunctionDef.Builder toBuilder ()

public void writeTo (output com.google.protobuf.CodedOutputStream)

Lancia
IOException