FunctionDef

kelas akhir publik 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 tipe tensorflow.FunctionDef

Kelas Bersarang

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

Konstanta

ke dalam ARG_ATTR_FIELD_NUMBER
ke dalam ATTR_FIELD_NUMBER
ke dalam CONTROL_RET_FIELD_NUMBER
ke dalam NODE_DEF_FIELD_NUMBER
ke dalam RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER
ke dalam RET_FIELD_NUMBER
ke dalam SIGNATURE_FIELD_NUMBER

Metode Publik

boolean
berisiArgAttr (kunci int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
boolean
berisiAttr (kunci string)
 Attributes specific to this function definition.
boolean
berisiControlRet (kunci string)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
boolean
berisiResourceArgUniqueId (kunci int)
 Unique IDs for each resource argument, used to track aliasing resources.
boolean
berisiRet (kunci string)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
boolean
sama dengan (Objek objek)
Peta<Bilangan Bulat, FunctionDef.ArgAttrs >
dapatkanArgAttr ()
Gunakan getArgAttrMap() sebagai gantinya.
ke dalam
dapatkanArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Peta<Bilangan Bulat, FunctionDef.ArgAttrs >
dapatkanArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
FunctionDef.ArgAttrs
getArgAttrOrDefault (kunci int, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
FunctionDef.ArgAttrs
getArgAttrOrThrow (kunci int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Peta<String, AttrValue >
dapatkanAttr ()
Gunakan getAttrMap() sebagai gantinya.
ke dalam
dapatkanAttrCount ()
 Attributes specific to this function definition.
Peta<String, AttrValue >
dapatkanAttrMap ()
 Attributes specific to this function definition.
Nilai Attr
getAttrOrDefault (kunci string, AttrValue defaultValue)
 Attributes specific to this function definition.
Nilai Attr
getAttrOrThrow (kunci string)
 Attributes specific to this function definition.
Peta<String, String>
dapatkanControlRet ()
Gunakan getControlRetMap() sebagai gantinya.
ke dalam
dapatkanControlRetCount ()
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
Peta<String, String>
dapatkanControlRetMap ()
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
Rangkaian
getControlRetOrDefault (kunci 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.
Rangkaian
getControlRetOrThrow (kunci string)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
Fungsi statisDef
FungsiDef
com.google.protobuf.Descriptors.Descriptor statis terakhir
NodeDef
getNodeDef (indeks int)
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
ke dalam
dapatkanNodeDefCount ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
Daftar< NodeDef >
dapatkanNodeDefList ()
 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.
Daftar<? memperluas NodeDefOrBuilder >
getNodeDefOrBuilderList ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
Peta<Bilangan Bulat, Bilangan Bulat>
ke dalam
getResourceArgUniqueIdCount ()
 Unique IDs for each resource argument, used to track aliasing resources.
Peta<Bilangan Bulat, Bilangan Bulat>
dapatkanResourceArgUniqueIdMap ()
 Unique IDs for each resource argument, used to track aliasing resources.
ke dalam
getResourceArgUniqueIdOrDefault (kunci int, int defaultValue)
 Unique IDs for each resource argument, used to track aliasing resources.
ke dalam
getResourceArgUniqueIdOrThrow (kunci int)
 Unique IDs for each resource argument, used to track aliasing resources.
Peta<String, String>
dapatkanRet ()
Gunakan getRetMap() sebagai gantinya.
ke dalam
dapatkanRetCount ()
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
Peta<String, String>
dapatkanRetMap ()
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
Rangkaian
getRetOrDefault (kunci 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.
Rangkaian
getRetOrThrow (kunci string)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
ke dalam
OpDef
dapatkan Tanda Tangan ()
 The definition of the function's name, arguments, return values,
 attrs etc.
OpDefOrBuilder
dapatkanSignatureOrBuilder ()
 The definition of the function's name, arguments, return values,
 attrs etc.
final com.google.protobuf.UnknownFieldSet
boolean
memilikiTanda Tangan ()
 The definition of the function's name, arguments, return values,
 attrs etc.
ke dalam
boolean terakhir
FunctionDef.Builder statis
FunctionDef.Builder statis
newBuilder (prototipe FunctionDef )
FunctionDef.Builder
Fungsi statisDef
parseDelimitedFrom (masukan Aliran Masukan)
Fungsi statisDef
parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Fungsi statisDef
parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Fungsi statisDef
parseFrom (com.google.protobuf.CodedInputStream masukan)
Fungsi statisDef
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Fungsi statisDef
parseFrom (data ByteBuffer)
Fungsi statisDef
parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Fungsi statisDef
parseFrom (com.google.protobuf.ByteString data)
Fungsi statisDef
parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Fungsi statisDef
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statis
FunctionDef.Builder
ruang kosong
writeTo (com.google.protobuf.CodedOutputStream keluaran)

Metode Warisan

Konstanta

int akhir statis publik ARG_ATTR_FIELD_NUMBER

Nilai Konstan: 7

int akhir statis publik ATTR_FIELD_NUMBER

Nilai Konstan: 5

int akhir statis publik CONTROL_RET_FIELD_NUMBER

Nilai Konstan: 6

int final statis publik NODE_DEF_FIELD_NUMBER

Nilai Konstan: 3

int akhir statis publik RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER

Nilai Konstan: 8

int akhir statis publik RET_FIELD_NUMBER

Nilai Konstan: 4

int akhir statis publik SIGNATURE_FIELD_NUMBER

Nilai Konstan: 1

Metode Publik

boolean publik berisi ArgAttr (kunci int)

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

boolean publik berisiAttr (kunci string)

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

boolean publik berisiControlRet (kunci 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;

boolean publik berisiResourceArgUniqueId (kunci int)

peta

 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;

boolean publik berisiRet (kunci 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;

boolean publik sama (Obj objek)

Peta publik<Bilangan Bulat, FunctionDef.ArgAttrs > getArgAttr ()

Gunakan getArgAttrMap() sebagai gantinya.

int publik getArgAttrCount ()

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

Peta publik<Bilangan Bulat, FunctionDef.ArgAttrs > getArgAttrMap ()

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

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

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

public FunctionDef.ArgAttrs getArgAttrOrThrow (kunci int)

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

Peta publik<String, AttrValue > getAttr ()

Gunakan getAttrMap() sebagai gantinya.

int publik getAttrCount ()

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

Peta publik<String, AttrValue > getAttrMap ()

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

public AttrValue getAttrOrDefault (kunci string, AttrValue defaultValue)

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

AttrValue publik getAttrOrThrow (kunci string)

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

peta publik<String, String> getControlRet ()

Gunakan getControlRetMap() sebagai gantinya.

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

peta publik<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 publik getControlRetOrDefault (kunci 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 publik getControlRetOrThrow (kunci 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;

FunctionDef statis publik getDefaultInstance ()

publik FunctionDef getDefaultInstanceForType ()

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

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

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

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

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

Daftar Publik<? memperluas 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;

publik dapatkanParserForType ()

peta publik<Bilangan Bulat, Bilangan Bulat> getResourceArgUniqueId ()

Gunakan getResourceArgUniqueIdMap() sebagai gantinya.

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

Peta publik<Bilangan Bulat, Bilangan Bulat> 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 (kunci 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 (kunci 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;

peta publik<String, String> getRet ()

Gunakan getRetMap() sebagai gantinya.

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

peta publik<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 publik getRetOrDefault (kunci 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 publik getRetOrThrow (kunci 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;

publik int getSerializedSize ()

getSignature OpDef publik ()

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

OpDefOrBuilder publik getSignatureOrBuilder ()

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

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

boolean publik hasSignature ()

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

kode hash int publik ()

boolean akhir publik diinisialisasi ()

FunctionDef.Builder statis publik newBuilder ()

public static FunctionDef.Builder newBuilder (prototipe FunctionDef )

publik FunctionDef.Builder newBuilderForType ()

public static FunctionDef parseDelimitedFrom (input InputStream)

Melempar
Pengecualian IO

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

Melempar
Pengecualian IO

parseFrom FunctionDef statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
InvalidProtocolBufferException

parseFrom FunctionDef statis publik (com.google.protobuf.CodedInputStream masukan)

Melempar
Pengecualian IO

parseFrom FunctionDef statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
InvalidProtocolBufferException

parseFrom FunctionDef statis publik (data ByteBuffer)

Melempar
InvalidProtocolBufferException

parseFrom FunctionDef statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
Pengecualian IO

parseFrom FunctionDef statis publik (com.google.protobuf.ByteString data)

Melempar
InvalidProtocolBufferException

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

Melempar
Pengecualian IO

parseFrom FunctionDef statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
InvalidProtocolBufferException

statis publik pengurai ()

Public FunctionDef.Builder toBuilder ()

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

Melempar
Pengecualian IO