کلاس نهایی عمومی NodeDef
نوع Protobuf tensorflow.NodeDef
کلاس های تو در تو
کلاس | NodeDef.Builder | نوع Protobuf tensorflow.NodeDef | |
کلاس | NodeDef.ExperimentalDebugInfo | نوع Protobuf tensorflow.NodeDef.ExperimentalDebugInfo | |
رابط | NodeDef.ExperimentalDebugInfoOrBuilder |
ثابت ها
بین المللی | ATTR_FIELD_NUMBER | |
بین المللی | DEVICE_FIELD_NUMBER | |
بین المللی | EXPERIMENTAL_DEBUG_INFO_FIELD_NUMBER | |
بین المللی | INPUT_FIELD_NUMBER | |
بین المللی | NAME_FIELD_NUMBER | |
بین المللی | OP_FIELD_NUMBER |
روش های عمومی
بولی | containAttr (کلید رشته) Operation-specific graph-construction-time configuration. |
بولی | برابر است (object obj) |
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 استاتیک | |
NodeDef | |
نهایی static 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.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". |
رشته | 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. |
بین المللی | |
com.google.protobuf.UnknownFieldSet نهایی | |
بولی | hasExperimentalDebugInfo () This stores debug information associated with the node. |
بین المللی | کد هش () |
بولی نهایی | |
استاتیک NodeDef.Builder | newBuilder (نمونه اولیه NodeDef ) |
استاتیک NodeDef.Builder | newBuilder () |
NodeDef.Builder | |
NodeDef استاتیک | parseDelimitedFrom (ورودی جریان ورودی) |
NodeDef استاتیک | parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodeDef استاتیک | parseFrom (داده های ByteBuffer) |
NodeDef استاتیک | parseFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodeDef استاتیک | parseFrom (دادههای ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodeDef استاتیک | parseFrom (ورودی com.google.protobuf.CodedInputStream) |
NodeDef استاتیک | parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodeDef استاتیک | parseFrom (داده های com.google.protobuf.ByteString) |
NodeDef استاتیک | parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodeDef استاتیک | parseFrom (دادههای com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ایستا | تجزیه کننده () |
NodeDef.Builder | toBuilder () |
باطل | writeTo (خروجی com.google.protobuf.CodedOutputStream) |
روش های ارثی
ثابت ها
نهایی استاتیک عمومی ATTR_FIELD_NUMBER
ارزش ثابت: 5
DEVICE_FIELD_NUMBER نهایی استاتیک عمومی
ارزش ثابت: 4
نهایی استاتیک عمومی EXPERIMENTAL_DEBUG_INFO_FIELD_NUMBER
ارزش ثابت: 6
نهایی استاتیک عمومی INPUT_FIELD_NUMBER
مقدار ثابت: 3
نهایی استاتیک عمومی NAME_FIELD_NUMBER
ارزش ثابت: 1
نهایی استاتیک عمومی OP_FIELD_NUMBER
مقدار ثابت: 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;
بولین عمومی برابر است (Object Obj)
عمومی 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 ()
رشته عمومی 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.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;
عمومی getParserForType ()
عمومی int getSerializedSize ()
عمومی نهایی com.google.protobuf.UnknownFieldSet getUnknownFields ()
بولین عمومی hasExperimentalDebugInfo ()
This stores debug information associated with the node.
.tensorflow.NodeDef.ExperimentalDebugInfo experimental_debug_info = 6;
هش کد عمومی ()
بولین نهایی عمومی isInitialized ()
عمومی استاتیک NodeDef parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی استاتیک NodeDef parseFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی استاتیک NodeDef parseFrom (داده های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
InvalidProtocolBufferException |
---|
عمومی استاتیک NodeDef parseFrom (ورودی com.google.protobuf.CodedInputStream)
پرتاب می کند
IOException |
---|
عمومی استاتیک NodeDef parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
InvalidProtocolBufferException |
---|
عمومی استاتیک NodeDef parseFrom (داده های com.google.protobuf.ByteString)
پرتاب می کند
InvalidProtocolBufferException |
---|
عمومی استاتیک NodeDef parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی استاتیک NodeDef parseFrom (داده های com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
InvalidProtocolBufferException |
---|
استاتیک عمومی تجزیه کننده ()
public void writeTo (خروجی com.google.protobuf.CodedOutputStream)
پرتاب می کند
IOException |
---|