genel son sınıf 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
İç İçe Sınıflar
sınıf | FunctionDef.ArgAttrs | Attributes for function arguments. | |
arayüz | FunctionDef.ArgAttrsOrBuilder | ||
sınıf | FunctionDef.Builder | A function can be instantiated when the runtime can bind every attr with a value. |
Sabitler
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 |
Genel Yöntemler
boolean | ArgAttr (int anahtarı) içerir map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
boolean | içerirAttr (Dize anahtarı) Attributes specific to this function definition. |
boolean | içerirControlRet (Dize anahtarı) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
boolean | içerirResourceArgUniqueId (int anahtarı) Unique IDs for each resource argument, used to track aliasing resources. |
boolean | içerirRet (Dize anahtarı) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
boolean | eşittir (Nesne nesnesi) |
Harita<Tamsayı, FunctionDef.ArgAttrs > | getArgAttr () Bunun yerine getArgAttrMap() işlevini kullanın. |
int | getArgAttrCount () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Harita<Tamsayı, FunctionDef.ArgAttrs > | getArgAttrMap () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.ArgAttrs | getArgAttrOrDefault (int anahtarı, FunctionDef.ArgAttrs defaultValue) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.ArgAttrs | getArgAttrOrThrow (int anahtarı) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Harita<String, AttrValue > | getAttr () Bunun yerine getAttrMap() kullanın. |
int | getAttrCount () Attributes specific to this function definition. |
Harita<String, AttrValue > | getAttrMap () Attributes specific to this function definition. |
Öznitelik Değeri | getAttrOrDefault (Dize anahtarı, AttrValue defaultValue) Attributes specific to this function definition. |
Öznitelik Değeri | getAttrOrThrow (Dize tuşu) Attributes specific to this function definition. |
Harita<Dize, Dize> | getControlRet () Bunun yerine getControlRetMap() kullanın. |
int | getControlRetCount () A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
Harita<Dize, Dize> | getControlRetMap () A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
Sicim | getControlRetOrDefault (Dize anahtarı, Dize defaultValue) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
Sicim | getControlRetOrThrow (Dize tuşu) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
statik FonksiyonDef | |
FonksiyonDef | |
final statik com.google.protobuf.Descriptors.Descriptor | |
DüğümDef | getNodeDef (int dizini) 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 (int dizini) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Liste<? NodeDefOrBuilder'ı genişletiyor > | getNodeDefOrBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Harita<Tamsayı, Tamsayı> | getResourceArgUniqueId () Bunun yerine getResourceArgUniqueIdMap() işlevini kullanın. |
int | getResourceArgUniqueIdCount () Unique IDs for each resource argument, used to track aliasing resources. |
Harita<Tamsayı, Tamsayı> | getResourceArgUniqueIdMap () Unique IDs for each resource argument, used to track aliasing resources. |
int | getResourceArgUniqueIdOrDefault (int anahtar, int defaultValue) Unique IDs for each resource argument, used to track aliasing resources. |
int | getResourceArgUniqueIdOrThrow (int anahtarı) Unique IDs for each resource argument, used to track aliasing resources. |
Harita<Dize, Dize> | getRet () Bunun yerine getRetMap() kullanın. |
int | getRetCount () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Harita<Dize, Dize> | getRetMap () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Sicim | getRetOrDefault (Dize anahtarı, Dize defaultValue) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Sicim | getRetOrThrow (Dize tuşu) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
int | |
OpDef | imzayı al () 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 | |
boolean | hasİmza () The definition of the function's name, arguments, return values, attrs etc. |
int | hashKodu () |
son boole değeri | Başlatıldı () |
statik FunctionDef.Builder | yeniİnşaatçı () |
statik FunctionDef.Builder | newBuilder ( FunctionDef prototipi) |
FunctionDef.Builder | |
statik FonksiyonDef | parseDelimitedFrom (InputStream girişi) |
statik FonksiyonDef | parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik FonksiyonDef | parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik FonksiyonDef | ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi) |
statik FonksiyonDef | parseFrom (byte[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik FonksiyonDef | parseFrom (ByteBuffer verileri) |
statik FonksiyonDef | parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik FonksiyonDef | ayrıştırmaFrom (com.google.protobuf.ByteString verileri) |
statik FonksiyonDef | parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik FonksiyonDef | parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik | ayrıştırıcı () |
FunctionDef.Builder | inşaatçıya () |
geçersiz | writeTo (com.google.protobuf.CodedOutputStream çıkışı) |
Kalıtsal Yöntemler
Sabitler
genel statik final int ARG_ATTR_FIELD_NUMBER
Sabit Değer: 7
genel statik final int ATTR_FIELD_NUMBER
Sabit Değer: 5
genel statik final int CONTROL_RET_FIELD_NUMBER
Sabit Değer: 6
genel statik final int NODE_DEF_FIELD_NUMBER
Sabit Değer: 3
genel statik final int RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER
Sabit Değer: 8
genel statik final int RET_FIELD_NUMBER
Sabit Değer: 4
genel statik final int SIGNATURE_FIELD_NUMBER
Sabit Değer: 1
Genel Yöntemler
public boolean ArgAttr (int anahtarı) içerir
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public boolean includeAttr (Dize anahtarı)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public boolean içerirControlRet (Dize anahtarı)
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;
genel boolean içerirResourceArgUniqueId (int anahtarı)
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 includeRet (Dize anahtarı)
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;
genel boole eşittir (Object obj)
genel Harita<Tamsayı, FunctionDef.ArgAttrs > getArgAttr ()
Bunun yerine getArgAttrMap()
işlevini kullanın.
public int getArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
genel Harita<Tamsayı, FunctionDef.ArgAttrs > getArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrDefault (int anahtarı, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrThrow (int anahtarı)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
genel int getAttrCount ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
genel Harita<String, AttrValue > getAttrMap ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public AttrValue getAttrOrDefault (Dize anahtarı, AttrValue defaultValue)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public AttrValue getAttrOrThrow (Dize anahtarı)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
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;
genel Harita<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 (Dize anahtarı, 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 (Dize anahtarı)
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 final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
genel NodeDef getNodeDef (int dizini)
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;
genel Liste< 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;
genel NodeDefOrBuilder getNodeDefOrBuilder (int dizini)
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;
genel liste<? NodeDefOrBuilder'ı genişletir > 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;
halk getParserForType ()
genel Harita<Tamsayı, Tamsayı> getResourceArgUniqueId ()
Bunun yerine getResourceArgUniqueIdMap()
işlevini kullanın.
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;
genel Harita<Tamsayı, Tamsayı> 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 (int anahtar, 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 (int anahtarı)
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;
genel 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;
genel Harita<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 (Dize anahtarı, 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 (Dize anahtarı)
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 ()
genel OpDef getSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
herkese açık OpDefOrBuilder getSignatureOrBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
genel final com.google.protobuf.UnknownFieldSet getUnknownFields ()
genel boolean hasSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
genel int hashCode ()
genel final boolean isInitialized ()
public static FunctionDef parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
public static FunctionDef parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
public static FunctionDef parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
public static FunctionDef parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel statik FunctionDef ayrıştırmaFrom (com.google.protobuf.ByteString verileri)
Atar
Geçersiz ProtokolBufferException |
---|
public static FunctionDef parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
public static FunctionDef parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ayrıştırıcı ()
genel geçersiz writeTo (com.google.protobuf.CodedOutputStream çıkışı)
Atar
IO İstisnası |
---|