lớp cuối cùng tĩnh công khai NodeDef.Builder
Protobuf loại tensorflow.NodeDef
Phương pháp công khai
NodeDef.Builder | addAllInput (giá trị 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 (Giá trị chuỗi) 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 (giá trị 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 (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
NodeDef | xây dựng () |
NodeDef | |
NodeDef.Builder | thông thoáng () |
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 (trường 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 | dòng vô tính () |
boolean | chứaAttr (Khóa chuỗi) Operation-specific graph-construction-time configuration. |
Bản đồ<Chuỗi, AttrValue > | getAttr () Thay vào đó hãy sử dụng getAttrMap() . |
int | getAttrCount () Operation-specific graph-construction-time configuration. |
Bản đồ<Chuỗi, AttrValue > | getAttrMap () Operation-specific graph-construction-time configuration. |
Giá trị Attr | getAttrOrDefault (Khóa chuỗi, AttrValue defaultValue) Operation-specific graph-construction-time configuration. |
Giá trị Attr | getAttrOrThrow (Khóa chuỗi) Operation-specific graph-construction-time configuration. |
NodeDef | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
Sợi dây | 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. |
Sợi dây | getInput (chỉ mục 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 (chỉ số int) Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". |
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". |
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". |
Bản đồ<Chuỗi, AttrValue > | getMutableAttr () Thay vào đó hãy sử dụng các bộ truy cập đột biến thay thế. |
Sợi dây | lấy Tên () The name given to this operator. |
com.google.protobuf.ByteString | getNameBytes () The name given to this operator. |
Sợi dây | getOp () The operation name. |
com.google.protobuf.ByteString | getOpBytes () The operation name. |
boolean | hasExperimentalDebugInfo () This stores debug information associated with the node. |
boolean cuối cùng | |
NodeDef.Builder | mergeExperimentalDebugInfo (giá trị NodeDef.ExperimentalDebugInfo ) This stores debug information associated with the node. |
NodeDef.Builder | mergeFrom (com.google.protobuf.Message other) |
NodeDef.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
NodeDef.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
NodeDef.Builder | putAllAttr (Bản đồ<String, AttrValue > giá trị) Operation-specific graph-construction-time configuration. |
NodeDef.Builder | |
NodeDef.Builder | RemoveAttr (Khóa chuỗi) Operation-specific graph-construction-time configuration. |
NodeDef.Builder | setDevice (Giá trị chuỗi) A (possibly partial) specification for the device on which this node should be placed. |
NodeDef.Builder | setDeviceBytes (giá trị 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 (giá trị NodeDef.ExperimentalDebugInfo ) This stores debug information associated with the node. |
NodeDef.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
NodeDef.Builder | setInput (chỉ mục int, giá trị chuỗi) 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 (Giá trị chuỗi) The name given to this operator. |
NodeDef.Builder | setNameBytes (giá trị com.google.protobuf.ByteString) The name given to this operator. |
NodeDef.Builder | setOp (Giá trị chuỗi) The operation name. |
NodeDef.Builder | setOpBytes (giá trị com.google.protobuf.ByteString) The operation name. |
NodeDef.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
NodeDef.Builder cuối cùng | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
Phương pháp kế thừa
Phương pháp công khai
public NodeDef.Builder addAllInput (giá trị 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;
public NodeDef.Builder addInput (Giá trị chuỗi)
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;
công khai NodeDef.Builder addInputBytes (giá trị 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 công khai addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
công khai 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;
công khai NodeDef.Builder clearExperimentalDebugInfo ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
NodeDef.Builder công khai 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;
công khai 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 công khai 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 công khai chứaAttr (Khóa chuỗi)
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 công khai 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;
Bản đồ công khai<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 (Khóa chuỗi, 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;
công khai AttrValue getAttrOrThrow (Khóa chuỗi)
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;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
Chuỗi công khai 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 công khai ()
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 công khai getExperimentalDebugInfo ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
công khai NodeDef.ExperimentalDebugInfo.Builder getExperimentalDebugInfoBuilder ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
công khai NodeDef.ExperimentalDebugInfoOrBuilder getExperimentalDebugInfoOrBuilder ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
Chuỗi công khai getInput (chỉ mục 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;
công khai com.google.protobuf.ByteString getInputBytes (chỉ mục 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 công khai 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 công khai 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;
Bản đồ công khai<String, AttrValue > getMutableAttr ()
Thay vào đó hãy sử dụng các bộ truy cập đột biến thay thế.
Chuỗi công khai 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 công khai ()
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;
Chuỗi công khai 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 công khai ()
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 công khai hasExperimentalDebugInfo ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
boolean cuối cùng công khai được khởi tạo ()
hợp nhất NodeDef.Builder công khaiExperimentalDebugInfo (giá trị NodeDef.ExperimentalDebugInfo )
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
công khai NodeDef.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
trận chung kết công khai NodeDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
NodeDef.Builder công khai putAllAttr (giá trị Bản đồ<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;
public NodeDef.Builder putAttr (Khóa chuỗi, giá trị 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;
public NodeDef.Builder RemoveAttr (Khóa chuỗi)
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 NodeDef.Builder setDevice (Giá trị chuỗi)
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 công khai (giá trị 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;
công khai NodeDef.Builder setExperimentalDebugInfo ( NodeDef.ExperimentalDebugInfo.Builder builderForValue)
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
công khai NodeDef.Builder setExperimentalDebugInfo (giá trị NodeDef.ExperimentalDebugInfo )
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
công khai NodeDef.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, giá trị đối tượng)
public NodeDef.Builder setInput (chỉ mục int, giá trị chuỗi)
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 setName (Giá trị chuỗi)
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;
công khai NodeDef.Builder setNameBytes (giá trị 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;
public NodeDef.Builder setOp (Giá trị chuỗi)
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 công khai (giá trị 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;