publiczna klasa końcowa 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 Klasy zagnieżdżone
| klasa | FunkcjaDef.ArgAttrs | Attributes for function arguments. | |
| interfejs | FunkcjaDef.ArgAttrsOrBuilder | ||
| klasa | Funkcja Def.Builder | A function can be instantiated when the runtime can bind every attr with a value. | |
Stałe
| wew | ARG_ATTR_FIELD_NUMBER | |
| wew | ATTR_FIELD_NUMBER | |
| wew | NUMBER_RET_FIELD_NUMBER | |
| wew | NODE_DEF_FIELD_NUMBER | |
| wew | RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER | |
| wew | RET_FIELD_NUMBER | |
| wew | SIGNATURE_FIELD_NUMBER |
Metody publiczne
| wartość logiczna | zawieraArgAttr (klucz int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| wartość logiczna | zawieraAttr (klucz ciągu) Attributes specific to this function definition. |
| wartość logiczna | zawieraControlRet (klawisz ciągu) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| wartość logiczna | zawieraResourceArgUniqueId (klucz int) Unique IDs for each resource argument, used to track aliasing resources. |
| wartość logiczna | zawieraRet (klawisz ciągu) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| wartość logiczna | równa się (obiekt obiektu) |
| Mapa<Integer, FunctionDef.ArgAttrs > | getArgAttr () Zamiast tego użyj getArgAttrMap() . |
| wew | getArgAttrCount () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| Mapa<Integer, FunctionDef.ArgAttrs > | getArgAttrMap () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| FunkcjaDef.ArgAttrs | getArgAttrOrDefault (klawisz int, wartość domyślna FunctionDef.ArgAttrs ) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| FunkcjaDef.ArgAttrs | getArgAttrOrThrow (klawisz int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| Mapa<String, AttrValue > | pobierzAttr () Zamiast tego użyj getAttrMap() . |
| wew | getAttrCount () Attributes specific to this function definition. |
| Mapa<String, AttrValue > | getAttrMap () Attributes specific to this function definition. |
| Wartość atr | getAttrOrDefault (klucz ciągu, wartość domyślna AttrValue ) Attributes specific to this function definition. |
| Wartość atr | getAttrOrThrow (klawisz ciągu) Attributes specific to this function definition. |
| Mapa<String, String> | getControlRet () Zamiast tego użyj funkcji getControlRetMap() . |
| wew | 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. |
| Smyczkowy | getControlRetOrDefault (klucz ciągu, ciąg znaków defaultValue) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| Smyczkowy | getControlRetOrThrow (klawisz ciągu) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| statyczny FunkcjaDef | |
| FunkcjaDef | |
| końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
| Wartość węzła | getNodeDef (indeks int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| wew | 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 (indeks int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| Lista<? rozszerza NodeDefOrBuilder > | getNodeDefOrBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| Mapa<liczba całkowita, liczba całkowita> | getResourceArgUniqueId () Zamiast tego użyj getResourceArgUniqueIdMap() . |
| wew | getResourceArgUniqueIdCount () Unique IDs for each resource argument, used to track aliasing resources. |
| Mapa<liczba całkowita, liczba całkowita> | getResourceArgUniqueIdMap () Unique IDs for each resource argument, used to track aliasing resources. |
| wew | getResourceArgUniqueIdOrDefault (klucz int, int wartość domyślna) Unique IDs for each resource argument, used to track aliasing resources. |
| wew | getResourceArgUniqueIdOrThrow (klucz int) Unique IDs for each resource argument, used to track aliasing resources. |
| Mapa<String, String> | pobierzRet () Zamiast tego użyj getRetMap() . |
| wew | pobierzRetCount () 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> | pobierzRetMapę () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| Smyczkowy | getRetOrDefault (klucz ciągowy, ciąg domyślna wartość) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| Smyczkowy | getRetOrThrow (klawisz ciągu) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| wew | |
| OpDef | pobierz podpis () 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. |
| końcowy com.google.protobuf.UnknownFieldSet | |
| wartość logiczna | ma podpis () The definition of the function's name, arguments, return values, attrs etc. |
| wew | hashCode () |
| końcowa wartość logiczna | |
| statyczny konstruktor funkcji FunctionDef | |
| statyczny konstruktor funkcji FunctionDef | newBuilder (prototyp FunctionDef ) |
| Funkcja Def.Builder | |
| statyczny FunkcjaDef | parseDelimitedFrom (wejście strumienia wejściowego) |
| statyczny FunkcjaDef | parseDelimitedFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny FunkcjaDef | parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny FunkcjaDef | parseFrom (wejście com.google.protobuf.CodedInputStream) |
| statyczny FunkcjaDef | parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry) |
| statyczny FunkcjaDef | parseFrom (dane ByteBuffer) |
| statyczny FunkcjaDef | parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny FunkcjaDef | parseFrom (dane com.google.protobuf.ByteString) |
| statyczny FunkcjaDef | parseFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny FunkcjaDef | parseFrom (dane com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny | parser () |
| Funkcja Def.Builder | |
| próżnia | writeTo (wyjście com.google.protobuf.CodedOutputStream) |
Metody dziedziczone
Stałe
publiczny statyczny końcowy int ARG_ATTR_FIELD_NUMBER
Wartość stała: 7
publiczny statyczny końcowy int ATTR_FIELD_NUMBER
Wartość stała: 5
publiczna statyczna końcowa liczba kontrolna_RET_FIELD_NUMBER
Wartość stała: 6
publiczny statyczny końcowy int NODE_DEF_FIELD_NUMBER
Wartość stała: 3
publiczny statyczny końcowy int RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER
Wartość stała: 8
publiczny statyczny końcowy int RET_FIELD_NUMBER
Wartość stała: 4
publiczny statyczny końcowy int SIGNATURE_FIELD_NUMBER
Wartość stała: 1
Metody publiczne
publiczna wartość logiczna zawieraArgAttr (klucz int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
publiczna wartość logiczna zawieraAttr (klucz ciągu)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; publiczna wartość logiczna zawieraControlRet (klucz ciąg)
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; publiczna wartość logiczna zawieraResourceArgUniqueId (klucz 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; publiczna wartość logiczna zawieraRet (klucz łańcuchowy)
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; publiczna wartość logiczna równa się (obiekt obiektu)
publiczny 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 (klucz int, wartość domyślna FunctionDef.ArgAttrs )
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrThrow (klawisz int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
publiczny 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 (klucz ciągu, wartość domyślna AttrValue )
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; public AttrValue getAttrOrThrow (klucz ciąg)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; publiczny 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 (klucz ciągu, ciąg domyślna wartość)
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 (klucz ciągu)
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 ()
publiczny NodeDef getNodeDef (indeks 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; publiczny 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 publiczna< 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; publiczny NodeDefOrBuilder getNodeDefOrBuilder (indeks 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 publiczna<? rozszerza 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; publiczny getParserForType ()
public Map<Integer, Integer> getResourceArgUniqueId ()
Zamiast tego użyj 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 (klucz int, int wartość domyślna)
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 (klucz 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; publiczny 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 (klucz ciągu, ciąg domyślna wartość)
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 (klucz 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; publiczny int getSerializedSize ()
publiczny OpDef getSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1; publiczny OpDefOrBuilder getSignatureOrBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1; publiczny finał com.google.protobuf.UnknownFieldSet getUnknownFields ()
publiczna wartość logiczna maPodpis ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1; publiczny int hashCode ()
publiczna końcowa wartość logiczna isInitialized ()
public static FunctionDef parseDelimitedFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
public static FunctionDef parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
public static FunctionDef parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
public static FunctionDef parseFrom (dane ByteBuffer)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
public static FunctionDef parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
public static FunctionDef parseFrom (dane com.google.protobuf.ByteString)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
public static FunctionDef parseFrom (wejście strumienia wejściowego, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
public static FunctionDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczna statyka parser ()
public void writeTo (wyjście com.google.protobuf.CodedOutputStream)
Rzuca
| Wyjątek IO |
|---|