NodeDef kelas akhir publik
Tipe protobuf tensorflow.NodeDef
Kelas Bersarang
kelas | NodeDef.Builder | Tipe protobuf tensorflow.NodeDef | |
kelas | NodeDef.ExperimentalDebugInfo | Tipe protobuf tensorflow.NodeDef.ExperimentalDebugInfo | |
antarmuka | NodeDef.ExperimentalDebugInfoOrBuilder |
Konstanta
ke dalam | ATTR_FIELD_NUMBER | |
ke dalam | DEVICE_FIELD_NUMBER | |
ke dalam | EXPERIMENTAL_DEBUG_INFO_FIELD_NUMBER | |
ke dalam | INPUT_FIELD_NUMBER | |
ke dalam | NAME_FIELD_NUMBER | |
ke dalam | OP_FIELD_NUMBER |
Metode Publik
boolean | berisiAttr (kunci string) Operation-specific graph-construction-time configuration. |
boolean | sama dengan (Objek objek) |
Peta<String, AttrValue > | dapatkanAttr () Gunakan getAttrMap() sebagai gantinya. |
ke dalam | dapatkanAttrCount () Operation-specific graph-construction-time configuration. |
Peta<String, AttrValue > | dapatkanAttrMap () Operation-specific graph-construction-time configuration. |
Nilai Attr | getAttrOrDefault (kunci string, AttrValue defaultValue) Operation-specific graph-construction-time configuration. |
Nilai Attr | getAttrOrThrow (kunci string) Operation-specific graph-construction-time configuration. |
NodeDef statis | |
NodeDef | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
Rangkaian | dapatkan Perangkat () A (possibly partial) specification for the device on which this node should be placed. |
com.google.protobuf.ByteString | dapatkanDeviceBytes () A (possibly partial) specification for the device on which this node should be placed. |
NodeDef.ExperimentalDebugInfo | dapatkanExperimentalDebugInfo () This stores debug information associated with the node. |
NodeDef.ExperimentalDebugInfoOrBuilder | dapatkanExperimentalDebugInfoOrBuilder () This stores debug information associated with the node. |
Rangkaian | getInput (indeks int) Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". |
com.google.protobuf.ByteString | getInputBytes (indeks int) Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". |
ke dalam | dapatkanInputCount () Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". |
com.google.protobuf.ProtocolStringList | dapatkan Daftar Masukan () Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". |
Rangkaian | dapatkan Nama () The name given to this operator. |
com.google.protobuf.ByteString | dapatkanNamaBytes () The name given to this operator. |
Rangkaian | dapatkanOp () The operation name. |
com.google.protobuf.ByteString | dapatkanOpBytes () The operation name. |
ke dalam | |
final com.google.protobuf.UnknownFieldSet | |
boolean | hasExperimentalDebugInfo () This stores debug information associated with the node. |
ke dalam | Kode hash () |
boolean terakhir | |
NodeDef.Builder statis | newBuilder (prototipe NodeDef ) |
NodeDef.Builder statis | |
NodeDef.Builder | |
NodeDef statis | parseDelimitedFrom (masukan Aliran Masukan) |
NodeDef statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodeDef statis | parseFrom (data ByteBuffer) |
NodeDef statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodeDef statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodeDef statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
NodeDef statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodeDef statis | parseFrom (com.google.protobuf.ByteString data) |
NodeDef statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodeDef statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
NodeDef.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int akhir statis publik ATTR_FIELD_NUMBER
Nilai Konstan: 5
int akhir statis publik DEVICE_FIELD_NUMBER
Nilai Konstan: 4
int final statis publik EXPERIMENTAL_DEBUG_INFO_FIELD_NUMBER
Nilai Konstan: 6
int akhir statis publik INPUT_FIELD_NUMBER
Nilai Konstan: 3
int akhir statis publik NAME_FIELD_NUMBER
Nilai Konstan: 1
int akhir statis publik OP_FIELD_NUMBER
Nilai Konstan: 2
Metode Publik
boolean publik berisiAttr (kunci string)
Operation-specific graph-construction-time configuration. Note that this should include all attrs defined in the corresponding OpDef, including those with a value matching the default -- this allows the default to change and makes NodeDefs easier to interpret on their own. However, if an attr with a default is not specified in this list, the default will be used. The "names" (keys) must match the regexp "[a-z][a-z0-9_]+" (and one of the names from the corresponding OpDef's attr field). The values must have a type matching the corresponding OpDef attr's type field. TODO(josh11b): Add some examples here showing best practices.
map<string, .tensorflow.AttrValue> attr = 5;
boolean publik sama (Obj objek)
int publik getAttrCount ()
Operation-specific graph-construction-time configuration. Note that this should include all attrs defined in the corresponding OpDef, including those with a value matching the default -- this allows the default to change and makes NodeDefs easier to interpret on their own. However, if an attr with a default is not specified in this list, the default will be used. The "names" (keys) must match the regexp "[a-z][a-z0-9_]+" (and one of the names from the corresponding OpDef's attr field). The values must have a type matching the corresponding OpDef attr's type field. TODO(josh11b): Add some examples here showing best practices.
map<string, .tensorflow.AttrValue> attr = 5;
Peta publik<String, AttrValue > getAttrMap ()
Operation-specific graph-construction-time configuration. Note that this should include all attrs defined in the corresponding OpDef, including those with a value matching the default -- this allows the default to change and makes NodeDefs easier to interpret on their own. However, if an attr with a default is not specified in this list, the default will be used. The "names" (keys) must match the regexp "[a-z][a-z0-9_]+" (and one of the names from the corresponding OpDef's attr field). The values must have a type matching the corresponding OpDef attr's type field. TODO(josh11b): Add some examples here showing best practices.
map<string, .tensorflow.AttrValue> attr = 5;
public AttrValue getAttrOrDefault (kunci string, AttrValue defaultValue)
Operation-specific graph-construction-time configuration. Note that this should include all attrs defined in the corresponding OpDef, including those with a value matching the default -- this allows the default to change and makes NodeDefs easier to interpret on their own. However, if an attr with a default is not specified in this list, the default will be used. The "names" (keys) must match the regexp "[a-z][a-z0-9_]+" (and one of the names from the corresponding OpDef's attr field). The values must have a type matching the corresponding OpDef attr's type field. TODO(josh11b): Add some examples here showing best practices.
map<string, .tensorflow.AttrValue> attr = 5;
AttrValue publik getAttrOrThrow (kunci string)
Operation-specific graph-construction-time configuration. Note that this should include all attrs defined in the corresponding OpDef, including those with a value matching the default -- this allows the default to change and makes NodeDefs easier to interpret on their own. However, if an attr with a default is not specified in this list, the default will be used. The "names" (keys) must match the regexp "[a-z][a-z0-9_]+" (and one of the names from the corresponding OpDef's attr field). The values must have a type matching the corresponding OpDef attr's type field. TODO(josh11b): Add some examples here showing best practices.
map<string, .tensorflow.AttrValue> attr = 5;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
GetDevice String publik ()
A (possibly partial) specification for the device on which this node should be placed. The expected syntax for this string is as follows: DEVICE_SPEC ::= PARTIAL_SPEC PARTIAL_SPEC ::= ("/" CONSTRAINT) * CONSTRAINT ::= ("job:" JOB_NAME) | ("replica:" [1-9][0-9]*) | ("task:" [1-9][0-9]*) | ("device:" [A-Za-z]* ":" ([1-9][0-9]* | "*") ) Valid values for this string include: * "/job:worker/replica:0/task:1/device:GPU:3" (full specification) * "/job:worker/device:GPU:3" (partial specification) * "" (no specification) If the constraints do not resolve to a single device (or if this field is empty or not present), the runtime will attempt to choose a device automatically.
string device = 4;
publik com.google.protobuf.ByteString getDeviceBytes ()
A (possibly partial) specification for the device on which this node should be placed. The expected syntax for this string is as follows: DEVICE_SPEC ::= PARTIAL_SPEC PARTIAL_SPEC ::= ("/" CONSTRAINT) * CONSTRAINT ::= ("job:" JOB_NAME) | ("replica:" [1-9][0-9]*) | ("task:" [1-9][0-9]*) | ("device:" [A-Za-z]* ":" ([1-9][0-9]* | "*") ) Valid values for this string include: * "/job:worker/replica:0/task:1/device:GPU:3" (full specification) * "/job:worker/device:GPU:3" (partial specification) * "" (no specification) If the constraints do not resolve to a single device (or if this field is empty or not present), the runtime will attempt to choose a device automatically.
string device = 4;
NodeDef.ExperimentalDebugInfo publik getExperimentalDebugInfo ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
NodeDef.ExperimentalDebugInfoOrBuilder publik getExperimentalDebugInfoOrBuilder ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
GetInput String publik (indeks int)
Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". If "src_output" is 0 the ":0" suffix can be omitted. Regular inputs may optionally be followed by control inputs that have the format "^node".
repeated string input = 3;
publik com.google.protobuf.ByteString getInputBytes (indeks int)
Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". If "src_output" is 0 the ":0" suffix can be omitted. Regular inputs may optionally be followed by control inputs that have the format "^node".
repeated string input = 3;
int publik getInputCount ()
Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". If "src_output" is 0 the ":0" suffix can be omitted. Regular inputs may optionally be followed by control inputs that have the format "^node".
repeated string input = 3;
com.google.protobuf.ProtocolStringList getInputList () publik
Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". If "src_output" is 0 the ":0" suffix can be omitted. Regular inputs may optionally be followed by control inputs that have the format "^node".
repeated string input = 3;
GetName String publik ()
The name given to this operator. Used for naming inputs, logging, visualization, etc. Unique within a single GraphDef. Must match the regexp "[A-Za-z0-9.][A-Za-z0-9_>./]*".
string name = 1;
publik com.google.protobuf.ByteString getNameBytes ()
The name given to this operator. Used for naming inputs, logging, visualization, etc. Unique within a single GraphDef. Must match the regexp "[A-Za-z0-9.][A-Za-z0-9_>./]*".
string name = 1;
String publik getOp ()
The operation name. There may be custom parameters in attrs. Op names starting with an underscore are reserved for internal use.
string op = 2;
publik com.google.protobuf.ByteString getOpBytes ()
The operation name. There may be custom parameters in attrs. Op names starting with an underscore are reserved for internal use.
string op = 2;
publik dapatkanParserForType ()
publik int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
boolean publik hasExperimentalDebugInfo ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
kode hash int publik ()
boolean akhir publik diinisialisasi ()
parseDelimitedFrom NodeDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom NodeDef statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom NodeDef statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFrom NodeDef statis publik (com.google.protobuf.CodedInputStream input)
Melempar
Pengecualian IO |
---|
parseFrom NodeDef statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFrom NodeDef statis publik (com.google.protobuf.ByteString data)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFrom NodeDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom NodeDef statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
statis publik pengurai ()
public void writeTo (keluaran com.google.protobuf.CodedOutputStream)
Melempar
Pengecualian IO |
---|