OpDef

público final classe 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.IfChange
 
tensorflow.OpDef tipo tensorflow.OpDef

Classes aninhadas

aula OpDef.ArgDef
 For describing inputs and outputs. 
interface OpDef.ArgDefOrBuilder
aula OpDef.AttrDef
 Description of the graph-construction-time configuration of this
 Op. 
interface OpDef.AttrDefOrBuilder
aula OpDef.Builder
 Defines an operation. 

Constantes

int ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER
int ATTR_FIELD_NUMBER
int CONTROL_OUTPUT_FIELD_NUMBER
int DEPRECATION_FIELD_NUMBER
int DESCRIPTION_FIELD_NUMBER
int INPUT_ARG_FIELD_NUMBER
int IS_AGGREGATE_FIELD_NUMBER
int IS_COMMUTATIVE_FIELD_NUMBER
int IS_STATEFUL_FIELD_NUMBER
int NAME_FIELD_NUMBER
int OUTPUT_ARG_FIELD_NUMBER
int SUMMARY_FIELD_NUMBER

Métodos Públicos

boleano
igual a (objeto obj)
boleano
getAllowsUninitializedInput ()
 By default, all inputs to an Op must be initialized Tensors.
OpDef.AttrDef
getAttr (índice int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
int
getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
Lista < OpDef.AttrDef >
getAttrList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
OpDef.AttrDefOrBuilder
getAttrOrBuilder (índice interno )
repeated .tensorflow.OpDef.AttrDef attr = 4;
Lista <? estende OpDef.AttrDefOrBuilder >
getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
Fragmento
getControlOutput (índice interno )
 Named control outputs for this operation.
com.google.protobuf.ByteString
getControlOutputBytes (índice interno )
 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 estático
OpDef
OpDeprecation
getDeprecation ()
 Optional deprecation based on GraphDef versions.
OpDeprecationOrBuilder
getDeprecationOrBuilder ()
 Optional deprecation based on GraphDef versions.
Fragmento
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 static com.google.protobuf.Descriptors.Descriptor
OpDef.ArgDef
getInputArg (int index)
 Description of the input(s).
int
getInputArgCount ()
 Description of the input(s).
Lista < OpDef.ArgDef >
getInputArgList ()
 Description of the input(s).
OpDef.ArgDefOrBuilder
getInputArgOrBuilder (índice interno )
 Description of the input(s).
Lista <? estende OpDef.ArgDefOrBuilder >
getInputArgOrBuilderList ()
 Description of the input(s).
boleano
getIsAggregate ()
 If is_aggregate is true, then this operation accepts N >= 2
 inputs and produces 1 output all of the same type.
boleano
getIsCommutative ()
 True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
 
bool is_commutative = 18;
boleano
getIsStateful ()
 Ops are marked as stateful if their behavior depends on some state beyond
 their input tensors (e.g.
Fragmento
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 index)
 Description of the output(s).
int
getOutputArgCount ()
 Description of the output(s).
Lista < OpDef.ArgDef >
getOutputArgList ()
 Description of the output(s).
OpDef.ArgDefOrBuilder
getOutputArgOrBuilder (índice interno )
 Description of the output(s).
Lista <? estende OpDef.ArgDefOrBuilder >
getOutputArgOrBuilderList ()
 Description of the output(s).
int
Fragmento
getSummary ()
 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
boleano
hasDeprecation ()
 Optional deprecation based on GraphDef versions.
int
final booleano
OpDef.Builder estático
newBuilder (protótipo OpDef )
OpDef.Builder estático
OpDef.Builder
OpDef estático
parseDelimitedFrom (input InputStream)
OpDef estático
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef estático
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef estático
parseFrom (com.google.protobuf.CodedInputStream input)
OpDef estático
parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef estático
parseFrom (dados ByteBuffer)
OpDef estático
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef estático
parseFrom (com.google.protobuf.ByteString data)
OpDef estático
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef estático
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
OpDef.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

public static final int ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER

Valor constante: 19

public static final int ATTR_FIELD_NUMBER

Valor constante: 4

public static final int CONTROL_OUTPUT_FIELD_NUMBER

Valor constante: 20

public static final int DEPRECATION_FIELD_NUMBER

Valor constante: 8

public static final int DESCRIPTION_FIELD_NUMBER

Valor constante: 6

public static final int INPUT_ARG_FIELD_NUMBER

Valor constante: 2

public static final int IS_AGGREGATE_FIELD_NUMBER

Valor constante: 16

public static final int IS_COMMUTATIVE_FIELD_NUMBER

Valor constante: 18

public static final int IS_STATEFUL_FIELD_NUMBER

Valor constante: 17

public static final int NAME_FIELD_NUMBER

Valor Constante: 1

public static final int OUTPUT_ARG_FIELD_NUMBER

Valor Constante: 3

public static final int SUMMARY_FIELD_NUMBER

Valor constante: 5

Métodos Públicos

public boolean equals (Object obj)

public 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;

public OpDef.AttrDef getAttr (int index)

repeated .tensorflow.OpDef.AttrDef attr = 4;

public int getAttrCount ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

Lista pública < OpDef.AttrDef > getAttrList ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

public OpDef.AttrDefOrBuilder getAttrOrBuilder (índice interno )

repeated .tensorflow.OpDef.AttrDef attr = 4;

Lista pública <? estende OpDef.AttrDefOrBuilder > getAttrOrBuilderList ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

public String getControlOutput (índice interno )

 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 index)

 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;

public static OpDef getDefaultInstance ()

public OpDef getDefaultInstanceForType ()

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;

public String 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 index)

 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;

Lista pública < OpDef.ArgDef > getInputArgList ()

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

public OpDef.ArgDefOrBuilder getInputArgOrBuilder (índice interno )

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

Lista pública <? estende OpDef.ArgDefOrBuilder > getInputArgOrBuilderList ()

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

public 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;

public boolean getIsCommutative ()

 True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
 
bool is_commutative = 18;

public 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;

public String 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 index)

 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;

public List < OpDef.ArgDef > getOutputArgList ()

 Description of the output(s).
 
repeated .tensorflow.OpDef.ArgDef output_arg = 3;

public OpDef.ArgDefOrBuilder getOutputArgOrBuilder (índice interno )

 Description of the output(s).
 
repeated .tensorflow.OpDef.ArgDef output_arg = 3;

Lista pública <? estende OpDef.ArgDefOrBuilder > getOutputArgOrBuilderList ()

 Description of the output(s).
 
repeated .tensorflow.OpDef.ArgDef output_arg = 3;

público getParserForType ()

public int getSerializedSize ()

public String 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;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public boolean hasDeprecation ()

 Optional deprecation based on GraphDef versions.
 
.tensorflow.OpDeprecation deprecation = 8;

public int hashCode ()

public final boolean isInitialized ()

public static OpDef.Builder newBuilder (protótipo OpDef )

public static OpDef.Builder newBuilder ()

public OpDef.Builder newBuilderForType ()

public static OpDef parseDelimitedFrom (InputStream input)

Lança
IOException

public static OpDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static OpDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static OpDef parseFrom (com.google.protobuf.CodedInputStream input)

Lança
IOException

public static OpDef parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static OpDef parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

public static OpDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static OpDef parseFrom (com.google.protobuf.ByteString data)

Lança
InvalidProtocolBufferException

public static OpDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static OpDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

estática pública analisador ()

public OpDef.Builder toBuilder ()

public void writeTo (saída com.google.protobuf.CodedOutputStream)

Lança
IOException