classe finale pubblica 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.IfChangeTipo di protocollo
tensorflow.OpDef
Classi nidificate
classe | OpDef.ArgDef | For describing inputs and outputs. | |
interfaccia | OpDef.ArgDefOrBuilder | ||
classe | OpDef.AttrDef | Description of the graph-construction-time configuration of this Op. | |
interfaccia | OpDef.AttrDefOrBuilder | ||
classe | OpDef.Builder | Defines an operation. |
Costanti
Metodi pubblici
booleano | è uguale a (Oggetto oggetto) |
booleano | getAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
OpDef.AttrDef | getAttr (indice int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
int | getAttrCount () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Elenco< OpDef.AttrDef > | getAttrList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDefOrBuilder | getAttrOrBuilder (indice int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Elenco<? estende OpDef.AttrDefOrBuilder > | getAttrOrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Corda | getControlOutput (indice int) Named control outputs for this operation. |
com.google.protobuf.ByteString | getControlOutputBytes (indice int) 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. |
OpDef statico | |
OpDef | |
OpDeprecation | getDeprecation () Optional deprecation based on GraphDef versions. |
OpDeprecationOrBuilder | getDeprecationOrBuilder () Optional deprecation based on GraphDef versions. |
Corda | getDescrizione () Additional, longer human-readable description of what the Op does. |
com.google.protobuf.ByteString | getDescrizioneBytes () Additional, longer human-readable description of what the Op does. |
com.google.protobuf.Descriptors.Descriptor statico finale | |
OpDef.ArgDef | getInputArg (indice int) Description of the input(s). |
int | getInputArgCount () Description of the input(s). |
Elenco< OpDef.ArgDef > | getInputArgList () Description of the input(s). |
OpDef.ArgDefOrBuilder | getInputArgOrBuilder (indice int) Description of the input(s). |
Elenco<? estende OpDef.ArgDefOrBuilder > | getInputArgOrBuilderList () Description of the input(s). |
booleano | getIsAggregate () If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
booleano | getIsCommutative () True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
booleano | getIsStateful () Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
Corda | getNome () Op names starting with an underscore are reserved for internal use. |
com.google.protobuf.ByteString | getNomeBytes () Op names starting with an underscore are reserved for internal use. |
OpDef.ArgDef | getOutputArg (indice int) Description of the output(s). |
int | getOutputArgCount () Description of the output(s). |
Elenco< OpDef.ArgDef > | getOutputArgList () Description of the output(s). |
OpDef.ArgDefOrBuilder | getOutputArgOrBuilder (indice int) Description of the output(s). |
Elenco<? estende OpDef.ArgDefOrBuilder > | getOutputArgOrBuilderList () Description of the output(s). |
int | |
Corda | getRiepilogo () 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. |
finale com.google.protobuf.UnknownFieldSet | |
booleano | hasDeprecation () Optional deprecation based on GraphDef versions. |
int | codicehash () |
booleano finale | |
OpDef.Builder statico | newBuilder (prototipo OpDef ) |
OpDef.Builder statico | |
OpDef.Builder | |
OpDef statico | parseDelimitedFrom (input InputStream) |
OpDef statico | parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef statico | parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef statico | parseFrom (ingresso com.google.protobuf.CodedInputStream) |
OpDef statico | parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef statico | parseFrom (dati ByteBuffer) |
OpDef statico | parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
OpDef statico | parseFrom (dati com.google.protobuf.ByteString) |
OpDef statico | parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef statico | parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
statico | analizzatore () |
OpDef.Builder | toBuilder () |
vuoto | writeTo (output com.google.protobuf.CodedOutputStream) |
Metodi ereditati
Costanti
public static final int ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER
Valore costante: 19
public static final int ATTR_FIELD_NUMBER
Valore costante: 4
public static final int CONTROL_OUTPUT_FIELD_NUMBER
Valore costante: 20
public static final int DEPRECATION_FIELD_NUMBER
Valore costante: 8
public static final int DESCRIZIONE_FIELD_NUMBER
Valore costante: 6
public static final int INPUT_ARG_FIELD_NUMBER
Valore costante: 2
public static final int IS_AGGREGATE_FIELD_NUMBER
Valore costante: 16
pubblico statico finale int IS_COMMUTATIVE_FIELD_NUMBER
Valore costante: 18
public static final int IS_STATEFUL_FIELD_NUMBER
Valore costante: 17
public static final int NAME_FIELD_NUMBER
Valore costante: 1
public static final int OUTPUT_ARG_FIELD_NUMBER
Valore costante: 3
public static final int SUMMARY_FIELD_NUMBER
Valore costante: 5
Metodi pubblici
booleano pubblico è uguale a (Oggetto obj)
pubblico booleano 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;
public int getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.AttrDefOrBuilder getAttrOrBuilder (indice int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Elenco pubblico<? estende OpDef.AttrDefOrBuilder > getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
public String getControlOutput (indice int)
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;
pubblico com.google.protobuf.ByteString getControlOutputBytes (indice int)
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;
pubblico 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;
public OpDeprecation getDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDeprecationOrBuilder getDeprecationOrBuilder ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
stringa pubblica getDescription ()
Additional, longer human-readable description of what the Op does.
string description = 6;
pubblico 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 (indice int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public int getInputArgCount ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Elenco pubblico< OpDef.ArgDef > getInputArgList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.ArgDefOrBuilder getInputArgOrBuilder (indice int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Elenco pubblico<? estende OpDef.ArgDefOrBuilder > getInputArgOrBuilderList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
pubblico booleano 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;
pubblico booleano getIsCommutative ()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
pubblico booleano 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;
stringa pubblica 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;
pubblico 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 (indice int)
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;
Elenco pubblico< OpDef.ArgDef > getOutputArgList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.ArgDefOrBuilder getOutputArgOrBuilder (indice int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Elenco pubblico<? estende OpDef.ArgDefOrBuilder > getOutputArgOrBuilderList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
pubblico getParserForType ()
public int getSerializedSize ()
public String getSummary ()
One-line human-readable description of what the Op does.
string summary = 5;
pubblico com.google.protobuf.ByteString getSummaryBytes ()
One-line human-readable description of what the Op does.
string summary = 5;
pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()
hasDeprecation booleano pubblico ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public int hashCode ()
public final booleano isInitialized ()
parseDelimitedFrom OpDef statico pubblico (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom OpDef statico pubblico (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
parseFrom OpDef statico pubblico (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
parseFrom OpDef statico pubblico (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom OpDef statico pubblico (dati com.google.protobuf.ByteString)
Lancia
InvalidProtocolBufferException |
---|
parseFrom OpDef statico pubblico (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom OpDef statico pubblico (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
Lancia
InvalidProtocolBufferException |
---|
pubblico statico analizzatore ()
public void writeTo (output com.google.protobuf.CodedOutputStream)
Lancia
IOException |
---|