کلاس نهایی استاتیک عمومی NodeDef.Builder
نوع Protobuf tensorflow.NodeDef
روش های عمومی
NodeDef.Builder | addAllInput (مقادیر<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 فیلد، مقدار Object) |
NodeDef | ساختن () |
NodeDef | ساخت جزئی () |
NodeDef.Builder | روشن () |
NodeDef.Builder | clearAttr () |
NodeDef.Builder | clearDevice () A (possibly partial) specification for the device on which this node should be placed. |
NodeDef.Builder | clearExperimentalDebugInfo () This stores debug information associated with the node. |
NodeDef.Builder | clearField (فیلد com.google.protobuf.Descriptors.FieldDescriptor) |
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". |
NodeDef.Builder | clearName () The name given to this operator. |
NodeDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NodeDef.Builder | clearOp () The operation name. |
NodeDef.Builder | کلون () |
بولی | containAttr (کلید رشته) Operation-specific graph-construction-time configuration. |
Map<String, AttrValue > | getAttr () به جای آن از getAttrMap() استفاده کنید. |
بین المللی | getAttrCount () Operation-specific graph-construction-time configuration. |
Map<String, AttrValue > | getAttrMap () Operation-specific graph-construction-time configuration. |
AttrValue | getAttrOrDefault (کلید رشته، مقدار پیش فرض AttrValue ) Operation-specific graph-construction-time configuration. |
AttrValue | getAttrOrThrow (کلید رشته) Operation-specific graph-construction-time configuration. |
NodeDef | |
نهایی static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
رشته | getDevice () A (possibly partial) specification for the device on which this node should be placed. |
com.google.protobuf.ByteString | getDeviceBytes () A (possibly partial) specification for the device on which this node should be placed. |
NodeDef.ExperimentalDebugInfo | getExperimentalDebugInfo () This stores debug information associated with the node. |
NodeDef.ExperimentalDebugInfo.Builder | getExperimentalDebugInfoBuilder () This stores debug information associated with the node. |
NodeDef.ExperimentalDebugInfoOrBuilder | getExperimentalDebugInfoOrBuilder () 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 | getInputList () Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". |
Map<String, AttrValue > | getMutableAttr () به جای آن از ابزارهای جهش جایگزین استفاده کنید. |
رشته | getName () The name given to this operator. |
com.google.protobuf.ByteString | getNameBytes () The name given to this operator. |
رشته | getOp () The operation name. |
com.google.protobuf.ByteString | getOpBytes () The operation name. |
بولی | hasExperimentalDebugInfo () This stores debug information associated with the node. |
بولی نهایی | |
NodeDef.Builder | mergeExperimentalDebugInfo (مقدار NodeDef.ExperimentalDebugInfo ) This stores debug information associated with the node. |
NodeDef.Builder | mergeFrom (com.google.protobuf.Message other) |
NodeDef.Builder | mergeFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodeDef.Builder نهایی | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
NodeDef.Builder | putAllAttr (Map<String, AttrValue > مقادیر) Operation-specific graph-construction-time configuration. |
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 فیلد، مقدار Object) |
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، مقدار Object) |
NodeDef.Builder نهایی | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
روش های ارثی
روش های عمومی
عمومی NodeDef.Builder addAllInput (مقادیر<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، مقدار Object)
عمومی 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;
بولین عمومی حاویAttr (کلید رشته)
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;
public static final 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 getExperimentalDebugInfoOrBuilder ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
ورودی رشته عمومی (int index)
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 com.google.protobuf.ByteString getInputBytes (int index)
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 mergeExperimentalDebugInfo (مقدار NodeDef.ExperimentalDebugInfo )
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
عمومی NodeDef.Builder mergeFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی NodeDef.Builder putAllAttr (Map<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;
عمومی 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 (شاخص 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;