FunctionDef

classe finale publique 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 de type Protobuf.FunctionDef

Classes imbriquées

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

Constantes

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 SIGNATURE_FIELD_NUMBER

Méthodes publiques

booléen
contientArgAttr (clé int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
booléen
contientAttr (clé de chaîne)
 Attributes specific to this function definition.
booléen
contientControlRet (clé de chaîne)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
booléen
contientResourceArgUniqueId (clé int)
 Unique IDs for each resource argument, used to track aliasing resources.
booléen
contientRet (clé de chaîne)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
booléen
est égal (Obj objet)
Carte<Integer, FunctionDef.ArgAttrs >
getArgAttr ()
Utilisez plutôt getArgAttrMap() .
int
getArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Carte<Integer, FunctionDef.ArgAttrs >
getArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
FunctionDef.ArgAttrs
getArgAttrOrDefault (clé int, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
FunctionDef.ArgAttrs
getArgAttrOrThrow (clé int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Carte<String, AttrValue >
getAttr ()
Utilisez plutôt getAttrMap() .
int
getAttrCount ()
 Attributes specific to this function definition.
Carte<String, AttrValue >
getAttrMap ()
 Attributes specific to this function definition.
Valeur d'attribut
getAttrOrDefault (clé de chaîne, AttrValue valeur par défaut)
 Attributes specific to this function definition.
Valeur d'attribut
getAttrOrThrow (clé de chaîne)
 Attributes specific to this function definition.
Carte<String, String>
getControlRet ()
Utilisez plutôt 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.
Carte<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.
Chaîne
getControlRetOrDefault (clé de chaîne, chaîne valeur par défaut)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
Chaîne
getControlRetOrThrow (clé de chaîne)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
FunctionDef statique
FonctionDef
final statique com.google.protobuf.Descriptors.Descriptor
NodeDef
getNodeDef (index entier)
 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.
Liste <NodeDef>
getNodeDefList ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
NodeDefOrBuilder
getNodeDefOrBuilder (index int)
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
Liste<? étend NodeDefOrBuilder >
getNodeDefOrBuilderList ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
Carte<Integer, Integer>
int
getResourceArgUniqueIdCount ()
 Unique IDs for each resource argument, used to track aliasing resources.
Carte<Integer, Integer>
getResourceArgUniqueIdMap ()
 Unique IDs for each resource argument, used to track aliasing resources.
int
getResourceArgUniqueIdOrDefault (clé int, int defaultValue)
 Unique IDs for each resource argument, used to track aliasing resources.
int
getResourceArgUniqueIdOrThrow (clé int)
 Unique IDs for each resource argument, used to track aliasing resources.
Carte<String, String>
obtenirRet ()
Utilisez plutôt 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.
Carte<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.
Chaîne
getRetOrDefault (clé de chaîne, chaîne valeur par défaut)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
Chaîne
getRetOrThrow (clé de chaîne)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
int
OpDef
obtenirSignature ()
 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
booléen
aSignature ()
 The definition of the function's name, arguments, return values,
 attrs etc.
int
booléen final
FunctionDef.Builder statique
FunctionDef.Builder statique
newBuilder (prototype FunctionDef )
FunctionDef.Builder
FunctionDef statique
parseDelimitedFrom (entrée InputStream)
FunctionDef statique
parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
FunctionDef statique
parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
FunctionDef statique
parseFrom (entrée com.google.protobuf.CodedInputStream)
FunctionDef statique
parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
FunctionDef statique
parseFrom (données ByteBuffer)
FunctionDef statique
parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
FunctionDef statique
parseFrom (données com.google.protobuf.ByteString)
FunctionDef statique
parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
FunctionDef statique
parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique
FunctionDef.Builder
vide
writeTo (sortie com.google.protobuf.CodedOutputStream)

Méthodes héritées

Constantes

public statique final int ARG_ATTR_FIELD_NUMBER

Valeur constante : 7

public statique final entier ATTR_FIELD_NUMBER

Valeur constante : 5

public statique final int CONTROL_RET_FIELD_NUMBER

Valeur constante : 6

public statique final int NODE_DEF_FIELD_NUMBER

Valeur constante : 3

public statique final int RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER

Valeur constante : 8

public statique final entier RET_FIELD_NUMBER

Valeur constante : 4

public statique final int SIGNATURE_FIELD_NUMBER

Valeur constante : 1

Méthodes publiques

public boolean containArgAttr (clé int)

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

public boolean containAttr (clé de chaîne)

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

public boolean containControlRet (clé de chaîne)

 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 booléen containResourceArgUniqueId (clé 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 containRet (clé de chaîne)

 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 booléen égal (Objet obj)

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

Utilisez plutôt 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 (clé int, FunctionDef.ArgAttrs defaultValue)

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

public FunctionDef.ArgAttrs getArgAttrOrThrow (clé int)

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

public Map<String, AttrValue > getAttr ()

Utilisez plutôt getAttrMap() .

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 (clé de chaîne, AttrValue defaultValue)

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

public AttrValue getAttrOrThrow (clé de chaîne)

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

public Map<String, String> getControlRet ()

Utilisez plutôt 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;

chaîne publique getControlRetOrDefault (clé de chaîne, valeur par défaut de chaîne)

 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;

chaîne publique getControlRetOrThrow (clé de chaîne)

 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 statique FunctionDef getDefaultInstance ()

public FunctionDef getDefaultInstanceForType ()

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

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

Liste publique < 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 (index 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;

Liste publique <? étend 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;

publique getParserForType ()

public Map<Integer, Integer> getResourceArgUniqueId ()

Utilisez plutôt 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<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 (clé 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 (clé 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 ()

Utilisez plutôt getRetMap() .

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;

chaîne publique getRetOrDefault (clé de chaîne, valeur par défaut de chaîne)

 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;

chaîne publique getRetOrThrow (clé de chaîne)

 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 booléen hasSignature ()

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

code de hachage int public ()

public final booléen isInitialized ()

public statique FunctionDef.Builder newBuilder ()

public static FunctionDef.Builder newBuilder (prototype FunctionDef )

public FunctionDef.Builder newBuilderForType ()

public static FunctionDef parseDelimitedFrom (entrée InputStream)

Jetés
IOException

public static FunctionDef parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static FunctionDef parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public static FunctionDef parseFrom (entrée com.google.protobuf.CodedInputStream)

Jetés
IOException

public static FunctionDef parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public static FunctionDef parseFrom (données ByteBuffer)

Jetés
InvalidProtocolBufferException

public static FunctionDef parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static FunctionDef parseFrom (données com.google.protobuf.ByteString)

Jetés
InvalidProtocolBufferException

public static FunctionDef parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static FunctionDef parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique analyseur ()

public FunctionDef.Builder toBuilder ()

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

Jetés
IOException