kelas akhir statis publik NodeDef.Builder
Tipe protobuf tensorflow.NodeDef
Metode Publik
NodeDef.Builder | addAllInput (nilai<String> yang dapat diubah) Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". |
NodeDef.Builder | addInput (Nilai string) Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". |
NodeDef.Builder | addInputBytes (nilai com.google.protobuf.ByteString) Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". |
NodeDef.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
NodeDef | membangun () |
NodeDef | buildPartial () |
NodeDef.Builder | jernih () |
NodeDef.Builder | hapusAttr () |
NodeDef.Builder | hapus Perangkat () A (possibly partial) specification for the device on which this node should be placed. |
NodeDef.Builder | jelasExperimentalDebugInfo () This stores debug information associated with the node. |
NodeDef.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
NodeDef.Builder | masukan yang jelas () Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". |
NodeDef.Builder | nama jelas () The name given to this operator. |
NodeDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NodeDef.Builder | hapusOp () The operation name. |
NodeDef.Builder | klon () |
boolean | berisiAttr (kunci string) Operation-specific graph-construction-time configuration. |
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 | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
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.ExperimentalDebugInfo.Builder | dapatkanExperimentalDebugInfoBuilder () 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". |
Peta<String, AttrValue > | dapatkanMutableAttr () Gunakan pengakses mutasi alternatif sebagai gantinya. |
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. |
boolean | hasExperimentalDebugInfo () This stores debug information associated with the node. |
boolean terakhir | |
NodeDef.Builder | mergeExperimentalDebugInfo (nilai NodeDef.ExperimentalDebugInfo ) This stores debug information associated with the node. |
NodeDef.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
NodeDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodeDef.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
NodeDef.Builder | putAllAttr (nilai Peta<String, AttrValue >) Operation-specific graph-construction-time configuration. |
NodeDef.Builder | |
NodeDef.Builder | hapusAttr (kunci string) Operation-specific graph-construction-time configuration. |
NodeDef.Builder | setDevice (Nilai string) A (possibly partial) specification for the device on which this node should be placed. |
NodeDef.Builder | setDeviceBytes (nilai com.google.protobuf.ByteString) A (possibly partial) specification for the device on which this node should be placed. |
NodeDef.Builder | setExperimentalDebugInfo ( NodeDef.ExperimentalDebugInfo.Builder builderForValue) This stores debug information associated with the node. |
NodeDef.Builder | setExperimentalDebugInfo (nilai NodeDef.ExperimentalDebugInfo ) This stores debug information associated with the node. |
NodeDef.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
NodeDef.Builder | setInput (indeks int, nilai String) Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". |
NodeDef.Builder | setName (Nilai string) The name given to this operator. |
NodeDef.Builder | setNameBytes (nilai com.google.protobuf.ByteString) The name given to this operator. |
NodeDef.Builder | setOp (Nilai string) The operation name. |
NodeDef.Builder | setOpBytes (nilai com.google.protobuf.ByteString) The operation name. |
NodeDef.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
NodeDef.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Metode Warisan
Metode Publik
publik NodeDef.Builder addAllInput (nilai<String> yang dapat diubah)
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;
addInput NodeDef.Builder publik (Nilai string)
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 NodeDef.Builder addInputBytes (nilai com.google.protobuf.ByteString)
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;
public NodeDef.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
NodeDef.Builder publik clearDevice ()
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.Builder publik clearExperimentalDebugInfo ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
NodeDef.Builder publik clearInput ()
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;
NodeDef.Builder publik clearName ()
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;
NodeDef.Builder publik clearOp ()
The operation name. There may be custom parameters in attrs. Op names starting with an underscore are reserved for internal use.
string op = 2;
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;
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 ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
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.ExperimentalDebugInfo.Builder publik getExperimentalDebugInfoBuilder ()
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;
Peta publik<String, AttrValue > getMutableAttr ()
Gunakan pengakses mutasi alternatif sebagai gantinya.
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;
com.google.protobuf.ByteString getOpBytes publik ()
The operation name. There may be custom parameters in attrs. Op names starting with an underscore are reserved for internal use.
string op = 2;
boolean publik hasExperimentalDebugInfo ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
boolean akhir publik diinisialisasi ()
publik NodeDef.Builder mergeExperimentalDebugInfo (nilai NodeDef.ExperimentalDebugInfo )
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
NodeDef.Builder mergeFrom publik (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
NodeDef.Builder akhir publik menggabungkanUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
publik NodeDef.Builder putAllAttr (nilai Peta<String, AttrValue >)
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;
publik NodeDef.Builder putAttr (kunci string, nilai AttrValue )
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;
NodeDef.Builder publik deleteAttr (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;
setDevice NodeDef.Builder publik (Nilai string)
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.Builder setDeviceBytes publik (nilai com.google.protobuf.ByteString)
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.Builder setExperimentalDebugInfo publik ( NodeDef.ExperimentalDebugInfo.Builder builderForValue)
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
NodeDef.Builder setExperimentalDebugInfo publik (nilai NodeDef.ExperimentalDebugInfo )
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
public NodeDef.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
NodeDef.Builder setInput publik (indeks int, nilai String)
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;
setName NodeDef.Builder publik (nilai string)
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;
NodeDef.Builder setNameBytes publik (nilai com.google.protobuf.ByteString)
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 NodeDef.Builder setOp (Nilai string)
The operation name. There may be custom parameters in attrs. Op names starting with an underscore are reserved for internal use.
string op = 2;
NodeDef.Builder setOpBytes publik (nilai com.google.protobuf.ByteString)
The operation name. There may be custom parameters in attrs. Op names starting with an underscore are reserved for internal use.
string op = 2;