genel final sınıfı OpDef
Defines an operation. A NodeDef in a GraphDef specifies an Op by using the "op" field which should match the name of a OpDef. LINT.IfChangeProtobuf türü
tensorflow.OpDef
İç İçe Sınıflar
sınıf | OpDef.ArgDef | For describing inputs and outputs. | |
arayüz | OpDef.ArgDefOrBuilder | ||
sınıf | OpDef.AttrDef | Description of the graph-construction-time configuration of this Op. | |
arayüz | OpDef.AttrDefOrBuilder | ||
sınıf | OpDef.Builder | Defines an operation. |
Sabitler
Genel Yöntemler
boolean | eşittir (Nesne nesnesi) |
boolean | getAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
OpDef.AttrDef | getAttr (int dizini) repeated .tensorflow.OpDef.AttrDef attr = 4; |
int | getAttrCount () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Liste< OpDef.AttrDef > | getAttrList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDefOrBuilder | getAttrOrBuilder (int dizini) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Liste<? OpDef.AttrDefOrBuilder'ı genişletir > | getAttrOrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Sicim | getControlOutput (int dizini) Named control outputs for this operation. |
com.google.protobuf.ByteString | getControlOutputBytes (int dizini) Named control outputs for this operation. |
int | getControlOutputCount () Named control outputs for this operation. |
com.google.protobuf.ProtocolStringList | getControlOutputList () Named control outputs for this operation. |
statik OpDef | |
OpDef | |
Operasyonun Kullanımdan Kaldırılması | kullanımdan kaldırılma () Optional deprecation based on GraphDef versions. |
OpDeprecationOrBuilder | getDeprecationOrBuilder () Optional deprecation based on GraphDef versions. |
Sicim | getDescription () Additional, longer human-readable description of what the Op does. |
com.google.protobuf.ByteString | getDescriptionBytes () Additional, longer human-readable description of what the Op does. |
final statik com.google.protobuf.Descriptors.Descriptor | |
OpDef.ArgDef | getInputArg (int dizini) Description of the input(s). |
int | getInputArgCount () Description of the input(s). |
Liste< OpDef.ArgDef > | getInputArgList () Description of the input(s). |
OpDef.ArgDefOrBuilder | getInputArgOrBuilder (int dizini) Description of the input(s). |
Liste<? OpDef.ArgDefOrBuilder'ı genişletir > | getInputArgOrBuilderList () Description of the input(s). |
boolean | getIsAggregate () If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
boolean | getIsCommutative () True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
boolean | getIsStateful () Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
Sicim | getName () Op names starting with an underscore are reserved for internal use. |
com.google.protobuf.ByteString | getNameBytes () Op names starting with an underscore are reserved for internal use. |
OpDef.ArgDef | getOutputArg (int dizini) Description of the output(s). |
int | getOutputArgCount () Description of the output(s). |
Liste< OpDef.ArgDef > | getOutputArgList () Description of the output(s). |
OpDef.ArgDefOrBuilder | getOutputArgOrBuilder (int dizini) Description of the output(s). |
Liste<? OpDef.ArgDefOrBuilder'ı genişletir > | getOutputArgOrBuilderList () Description of the output(s). |
int | |
Sicim | getÖzet () One-line human-readable description of what the Op does. |
com.google.protobuf.ByteString | getSummaryBytes () One-line human-readable description of what the Op does. |
final com.google.protobuf.UnknownFieldSet | |
boolean | kullanımdan kaldırılma () Optional deprecation based on GraphDef versions. |
int | hashKodu () |
son boole değeri | Başlatıldı () |
statik OpDef.Builder | yeniBuilder ( OpDef prototipi) |
statik OpDef.Builder | yeniİnşaatçı () |
OpDef.Builder | |
statik OpDef | parseDelimitedFrom (InputStream girişi) |
statik OpDef | parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik OpDef | parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik OpDef | ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi) |
statik OpDef | parseFrom (byte[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik OpDef | parseFrom (ByteBuffer verileri) |
statik OpDef | parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik OpDef | ayrıştırmaFrom (com.google.protobuf.ByteString verileri) |
statik OpDef | parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik OpDef | parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik | ayrıştırıcı () |
OpDef.Builder | inşaatçıya () |
geçersiz | writeTo (com.google.protobuf.CodedOutputStream çıkışı) |
Kalıtsal Yöntemler
Sabitler
genel statik final int ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER
Sabit Değer: 19
genel statik final int ATTR_FIELD_NUMBER
Sabit Değer: 4
genel statik final int CONTROL_OUTPUT_FIELD_NUMBER
Sabit Değer: 20
genel statik final int DEPRECATION_FIELD_NUMBER
Sabit Değer: 8
genel statik final int DESCRIPTION_FIELD_NUMBER
Sabit Değer: 6
genel statik final int INPUT_ARG_FIELD_NUMBER
Sabit Değer: 2
genel statik final int IS_AGGREGATE_FIELD_NUMBER
Sabit Değer: 16
genel statik final int IS_COMMUTATIVE_FIELD_NUMBER
Sabit Değer: 18
genel statik final int IS_STATEFUL_FIELD_NUMBER
Sabit Değer: 17
genel statik final int NAME_FIELD_NUMBER
Sabit Değer: 1
genel statik final int OUTPUT_ARG_FIELD_NUMBER
Sabit Değer: 3
genel statik final int SUMMARY_FIELD_NUMBER
Sabit Değer: 5
Genel Yöntemler
genel boole eşittir (Object obj)
genel boolean getAllowsUninitializedInput ()
By default, all inputs to an Op must be initialized Tensors. Ops that may initialize tensors for the first time should set this field to true, to allow the Op to take an uninitialized Tensor as input.
bool allows_uninitialized_input = 19;
genel int getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.AttrDefOrBuilder getAttrOrBuilder (int dizini)
repeated .tensorflow.OpDef.AttrDef attr = 4;
genel liste<? OpDef.AttrDefOrBuilder > getAttrOrBuilderList () öğesini genişletir
repeated .tensorflow.OpDef.AttrDef attr = 4;
public String getControlOutput (int dizini)
Named control outputs for this operation. Useful only for composite operations (i.e. functions) which want to name different control outputs.
repeated string control_output = 20;
public com.google.protobuf.ByteString getControlOutputBytes (int dizini)
Named control outputs for this operation. Useful only for composite operations (i.e. functions) which want to name different control outputs.
repeated string control_output = 20;
public int getControlOutputCount ()
Named control outputs for this operation. Useful only for composite operations (i.e. functions) which want to name different control outputs.
repeated string control_output = 20;
public com.google.protobuf.ProtocolStringList getControlOutputList ()
Named control outputs for this operation. Useful only for composite operations (i.e. functions) which want to name different control outputs.
repeated string control_output = 20;
genel OpDeprecation getDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
herkese açık OpDeprecationOrBuilder getDeprecationOrBuilder ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
genel Dize getDescription ()
Additional, longer human-readable description of what the Op does.
string description = 6;
public com.google.protobuf.ByteString getDescriptionBytes ()
Additional, longer human-readable description of what the Op does.
string description = 6;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public OpDef.ArgDef getInputArg (int dizini)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
genel int getInputArgCount ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
genel Liste< OpDef.ArgDef > getInputArgList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.ArgDefOrBuilder getInputArgOrBuilder (int dizini)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
genel liste<? OpDef.ArgDefOrBuilder'ı genişletir > getInputArgOrBuilderList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
genel boolean getIsAggregate ()
If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. Should be associative and commutative, and produce output with the same shape as the input. The optimizer may replace an aggregate op taking input from multiple devices with a tree of aggregate ops that aggregate locally within each device (and possibly within groups of nearby devices) before communicating. TODO(josh11b): Implement that optimization.
bool is_aggregate = 16;
genel boolean getIsCommutative ()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
genel boolean getIsStateful ()
Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. variable reading op) or if they have a side-effect (e.g. printing or asserting ops). Equivalently, stateless ops must always produce the same output for the same input and have no side-effects. By default Ops may be moved between devices. Stateful ops should either not be moved, or should only be moved if that state can also be moved (e.g. via some sort of save / restore). Stateful ops are guaranteed to never be optimized away by Common Subexpression Elimination (CSE).
bool is_stateful = 17;
genel Dize getName ()
Op names starting with an underscore are reserved for internal use. Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9>_]*".
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
Op names starting with an underscore are reserved for internal use. Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9>_]*".
string name = 1;
public OpDef.ArgDef getOutputArg (int dizini)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public int getOutputArgCount ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
genel Liste< OpDef.ArgDef > getOutputArgList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.ArgDefOrBuilder getOutputArgOrBuilder (int dizini)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
genel liste<? OpDef.ArgDefOrBuilder'ı genişletir > getOutputArgOrBuilderList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
halk getParserForType ()
public int getSerializedSize ()
genel Dize getSummary ()
One-line human-readable description of what the Op does.
string summary = 5;
public com.google.protobuf.ByteString getSummaryBytes ()
One-line human-readable description of what the Op does.
string summary = 5;
genel final com.google.protobuf.UnknownFieldSet getUnknownFields ()
genel boolean hasDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
genel int hashCode ()
genel final boolean isInitialized ()
genel statik OpDef ayrıştırmaDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel statik OpDef ayrıştırmaFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik OpDef ayrıştırmaFrom (bayt[] veri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik OpDef ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel statik OpDef ayrıştırmaFrom (com.google.protobuf.ByteString verileri)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik OpDef ayrıştırmaFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel statik OpDef ayrıştırmaFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ayrıştırıcı ()
genel geçersiz writeTo (com.google.protobuf.CodedOutputStream çıkışı)
Atar
IOİstisnası |
---|