lớp cuối cùng công khai NodeDef
Protobuf loại tensorflow.NodeDef
Các lớp lồng nhau
lớp học | NodeDef.Builder | Protobuf loại tensorflow.NodeDef | |
lớp học | NodeDef.ExperimentalDebugInfo | Loại protobuf tensorflow.NodeDef.ExperimentalDebugInfo | |
giao diện | NodeDef.ExperimentalDebugInfoOrBuilder |
Hằng số
int | ATTR_FIELD_NUMBER | |
int | DEVICE_FIELD_NUMBER | |
int | EXPERIMENTAL_DEBUG_INFO_FIELD_NUMBER | |
int | INPUT_FIELD_NUMBER | |
int | NAME_FIELD_NUMBER | |
int | OP_FIELD_NUMBER |
Phương pháp công khai
boolean | chứaAttr (Khóa chuỗi) Operation-specific graph-construction-time configuration. |
boolean | bằng (Đối tượng obj) |
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 tĩnh | |
NodeDef | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
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.ExperimentalDebugInfoOrBuilder | getExperimentalDebugInfoOrBuilder () This stores debug information associated with the node. |
Sợi dây | getInput (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". |
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". |
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. |
int | |
com.google.protobuf.UnknownFieldSet cuối cùng | |
boolean | hasExperimentalDebugInfo () This stores debug information associated with the node. |
int | mã băm () |
boolean cuối cùng | |
NodeDef.Builder tĩnh | newBuilder ( nguyên mẫu NodeDef ) |
NodeDef.Builder tĩnh | |
NodeDef.Builder | |
NodeDef tĩnh | phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào) |
NodeDef tĩnh | phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào, com.google.protobuf.ExtensionRegistryLite tiện ích mở rộngRegistry) |
NodeDef tĩnh | ParseFrom (dữ liệu ByteBuffer) |
NodeDef tĩnh | ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
NodeDef tĩnh | ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
NodeDef tĩnh | ParseFrom (đầu vào com.google.protobuf.CodedInputStream) |
NodeDef tĩnh | ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
NodeDef tĩnh | ParseFrom (dữ liệu com.google.protobuf.ByteString) |
NodeDef tĩnh | ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
NodeDef tĩnh | ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
tĩnh | |
NodeDef.Builder | toBuilder () |
trống rỗng | writeTo (đầu ra com.google.protobuf.CodedOutputStream) |
Phương pháp kế thừa
Hằng số
int tĩnh công khai ATTR_FIELD_NUMBER
Giá trị không đổi: 5
int tĩnh cuối cùng DEVICE_FIELD_NUMBER
Giá trị không đổi: 4
int tĩnh cuối cùng EXPERIMENTAL_DEBUG_INFO_FIELD_NUMBER
Giá trị không đổi: 6
int cuối cùng tĩnh công khai INPUT_FIELD_NUMBER
Giá trị không đổi: 3
int cuối cùng tĩnh công khai NAME_FIELD_NUMBER
Giá trị không đổi: 1
int cuối cùng tĩnh công khai OP_FIELD_NUMBER
Giá trị không đổi: 2
Phương pháp công khai
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;
boolean công khai bằng (Object obj)
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 ()
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.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;
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;
công cộng getParserForType ()
int công khai getSerializedSize ()
trận chung kết công khai com.google.protobuf.UnknownFieldSet getUnknownFields ()
boolean công khai hasExperimentalDebugInfo ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
mã băm int công khai ()
boolean cuối cùng công khai được khởi tạo ()
công khai phân tích cú pháp NodeDef tĩnhDelimitedFrom (Đầu vàoInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
Phân tích cú pháp NodeDef tĩnh công khaiFrom (dữ liệu ByteBuffer)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
Phân tích cú pháp NodeDef tĩnh công khaiFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
phân tích cú pháp NodeDef tĩnh công khaiTừ (dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
Phân tích cú pháp NodeDef tĩnh công khai (đầu vào com.google.protobuf.CodedInputStream)
Ném
IOException |
---|
Phân tích cú pháp NodeDef tĩnh công khaiTừ (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
Phân tích cú pháp NodeDef tĩnh công khaiFrom (dữ liệu com.google.protobuf.ByteString)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
Phân tích cú pháp NodeDef tĩnh công khaiFrom (đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
Phân tích cú pháp NodeDef tĩnh công khaiFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
công cộng tĩnh trình phân tích cú pháp ()
public void writeTo (đầu ra com.google.protobuf.CodedOutputStream)
Ném
IOException |
---|