NodeDef.Builder คลาสสุดท้ายแบบคงที่สาธารณะ
Protobuf ประเภท tensorflow.NodeDef
วิธีการสาธารณะ
NodeDef.Builder | addAllInput (ค่า Iterable<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 | addInput (ค่าสตริง) 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 (ค่า 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 (com.google.protobuf.Descriptors.FieldDescriptor ช่อง ค่าอ็อบเจ็กต์) |
โหนดDef | สร้าง () |
โหนดDef | สร้างบางส่วน () |
NodeDef.Builder | ชัดเจน () |
NodeDef.Builder | clearAttr () |
NodeDef.Builder | ล้างอุปกรณ์ () A (possibly partial) specification for the device on which this node should be placed. |
NodeDef.Builder | ล้างข้อมูลทดลอง DebugInfo () This stores debug information associated with the node. |
NodeDef.Builder | clearField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor) |
NodeDef.Builder | เคลียร์อินพุต () 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 | ชื่อที่ชัดเจน () The name given to this operator. |
NodeDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NodeDef.Builder | ชัดเจน () The operation name. |
NodeDef.Builder | โคลน () |
บูลีน | containsAttr (คีย์สตริง) Operation-specific graph-construction-time configuration. |
แมป<สตริง, AttrValue > | getAttr () ใช้ getAttrMap() แทน |
ภายใน | getAttrCount () Operation-specific graph-construction-time configuration. |
แมป<สตริง, AttrValue > | getAttrMap () Operation-specific graph-construction-time configuration. |
AttrValue | getAttrOrDefault (คีย์สตริง AttrValue defaultValue) Operation-specific graph-construction-time configuration. |
AttrValue | getAttrOrThrow (คีย์สตริง) Operation-specific graph-construction-time configuration. |
โหนดDef | |
com.google.protobuf.Descriptors.Descriptor แบบคงที่ขั้นสุดท้าย | รับคำอธิบาย () |
com.google.protobuf.Descriptors.Descriptor | |
สตริง | รับอุปกรณ์ () A (possibly partial) specification for the device on which this node should be placed. |
com.google.protobuf.ByteString | รับอุปกรณ์ไบต์ () A (possibly partial) specification for the device on which this node should be placed. |
NodeDef.ExperimentalDebugInfo | รับข้อมูลทดลอง DebugInfo () This stores debug information associated with the node. |
NodeDef.ExperimentalDebugInfo.Builder | getExperimentalDebugInfoBuilder () This stores debug information associated with the node. |
NodeDef.ExperimentalDebugInfoOrBuilder | รับ ExperimentalDebugInfoOrBuilder () This stores debug information associated with the node. |
สตริง | getInput (ดัชนี 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 (ดัชนี int) Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". |
ภายใน | getInputCount () 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 | รับInputList () Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". |
แมป<สตริง, AttrValue > | getMutableAttr () ใช้ตัวเข้าถึงการกลายพันธุ์สำรองแทน |
สตริง | รับชื่อ () The name given to this operator. |
com.google.protobuf.ByteString | getNameBytes () The name given to this operator. |
สตริง | รับOp () The operation name. |
com.google.protobuf.ByteString | getOpBytes () The operation name. |
บูลีน | มีข้อมูล Debug ทดลอง () This stores debug information associated with the node. |
บูลีนสุดท้าย | |
NodeDef.Builder | ผสานExperimentalDebugInfo (ค่า NodeDef.ExperimentalDebugInfo ) This stores debug information associated with the node. |
NodeDef.Builder | mergeFrom (com.google.protobuf.ข้อความ อื่น ๆ ) |
NodeDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodeDef.Builder สุดท้าย | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
NodeDef.Builder | |
NodeDef.Builder | |
NodeDef.Builder | RemoveAttr (คีย์สตริง) Operation-specific graph-construction-time configuration. |
NodeDef.Builder | setDevice (ค่าสตริง) A (possibly partial) specification for the device on which this node should be placed. |
NodeDef.Builder | setDeviceBytes (ค่า 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 (ค่า NodeDef.ExperimentalDebugInfo ) This stores debug information associated with the node. |
NodeDef.Builder | setField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์) |
NodeDef.Builder | setInput (ดัชนี int, ค่าสตริง) 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 (ค่าสตริง) The name given to this operator. |
NodeDef.Builder | setNameBytes (ค่า com.google.protobuf.ByteString) The name given to this operator. |
NodeDef.Builder | setOp (ค่าสตริง) The operation name. |
NodeDef.Builder | setOpBytes (ค่า com.google.protobuf.ByteString) The operation name. |
NodeDef.Builder | setRepeatedField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor, ดัชนี int, ค่าอ็อบเจ็กต์) |
NodeDef.Builder สุดท้าย | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
วิธีการสืบทอด
วิธีการสาธารณะ
NodeDef.Builder สาธารณะ addAllInput (ค่า Iterable <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;
NodeDef.Builder addInput สาธารณะ (ค่าสตริง)
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 สาธารณะ addInputBytes (ค่า 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;
NodeDef.Builder สาธารณะ addRepeatedField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์)
NodeDef.Builder สาธารณะ 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 สาธารณะ clearExperimentalDebugInfo ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
NodeDef.Builder สาธารณะ 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 สาธารณะ 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 สาธารณะ 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;
บูลีนสาธารณะ containsAttr (คีย์สตริง)
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 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;
แผนที่สาธารณะ <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;
AttrValue getAttrOrDefault สาธารณะ (คีย์สตริง, 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 สาธารณะ getAttrOrThrow (คีย์สตริง)
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;
สาธารณะคงที่สุดท้าย com.google.protobuf.Descriptors.Descriptor getDescriptor ()
สาธารณะ com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
สตริงสาธารณะ getDevice ()
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;
สาธารณะ 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 สาธารณะ getExperimentalDebugInfo ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
NodeDef.ExperimentalDebugInfo.Builder สาธารณะ getExperimentalDebugInfoBuilder ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
NodeDef.ExperimentalDebugInfoOrBuilder สาธารณะ รับ ExperimentalDebugInfoOrBuilder ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
สตริงสาธารณะ getInput (ดัชนี 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;
สาธารณะ com.google.protobuf.ByteString getInputBytes (ดัชนี 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 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 ()
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 ()
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;
สาธารณะ 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;
สตริงสาธารณะ 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 ()
The operation name. There may be custom parameters in attrs. Op names starting with an underscore are reserved for internal use.
string op = 2;
บูลีนสาธารณะ hasExperimentalDebugInfo ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
บูลีนสุดท้ายสาธารณะ isInitialized ()
NodeDef.Builder สาธารณะ ผสาน ExperimentalDebugInfo (ค่า NodeDef.ExperimentalDebugInfo )
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
NodeDef.Builder สาธารณะ ผสานจาก (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
IOข้อยกเว้น |
---|
NodeDef.Builder สาธารณะ putAllAttr (แมป <สตริง, 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 สาธารณะ putAttr (คีย์สตริง, ค่า 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 สาธารณะ RemoveAttr (คีย์สตริง)
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 สาธารณะ setDevice (ค่าสตริง)
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 (ค่า 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 ( NodeDef.ExperimentalDebugInfo.Builder builderForValue)
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
NodeDef.Builder สาธารณะ setExperimentalDebugInfo (ค่า NodeDef.ExperimentalDebugInfo )
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
สาธารณะ NodeDef.Builder setField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์)
NodeDef.Builder setInput สาธารณะ (ดัชนี 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;
NodeDef.Builder setName สาธารณะ (ค่าสตริง)
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 สาธารณะ (ค่า 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;
NodeDef.Builder setOp สาธารณะ (ค่าสตริง)
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 (ค่า 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;