OpDef

classe final pública 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
 
Tipo de protobuf 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

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

Métodos Públicos

booleano
é igual (objeto obj)
booleano
getAllowsUninitializedInput ()
 By default, all inputs to an Op must be initialized Tensors.
OpDef.AttrDef
getAttr (índice interno)
repeated .tensorflow.OpDef.AttrDef attr = 4;
interno
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;
Corda
getControlOutput (índice interno)
 Named control outputs for this operation.
com.google.protobuf.ByteString
getControlOutputBytes (índice interno)
 Named control outputs for this operation.
interno
getControlOutputCount ()
 Named control outputs for this operation.
com.google.protobuf.ProtocolStringList
getControlOutputList ()
 Named control outputs for this operation.
OpDef estático
OpDef
OpDepreciação
getDeprecation ()
 Optional deprecation based on GraphDef versions.
OpDeprecationOrBuilder
getDeprecationOrBuilder ()
 Optional deprecation based on GraphDef versions.
Corda
getDescrição ()
 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 estático com.google.protobuf.Descriptors.Descriptor
OpDef.ArgDef
getInputArg (índice interno)
 Description of the input(s).
interno
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).
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 (índice interno)
 Description of the output(s).
interno
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).
interno
Corda
obter Resumo ()
 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
booleano
hasDeprecation ()
 Optional deprecation based on GraphDef versions.
interno
booleano final
OpDef.Builder estático
newBuilder (protótipo OpDef )
OpDef.Builder estático
OpDef.Builder
OpDef estático
parseDelimitedFrom (entrada InputStream)
OpDef estático
parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef estático
parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef estático
parseFrom (entrada com.google.protobuf.CodedInputStream)
OpDef estático
parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef estático
parseFrom (dados de ByteBuffer)
OpDef estático
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef estático
parseFrom (dados com.google.protobuf.ByteString)
OpDef estático
parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef estático
parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
OpDef.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

público estático final int ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER

Valor Constante: 19

público estático final int ATTR_FIELD_NUMBER

Valor Constante: 4

público estático final int CONTROL_OUTPUT_FIELD_NUMBER

Valor Constante: 20

público estático final int DEPRECATION_FIELD_NUMBER

Valor Constante: 8

público estático final int DESCRIPTION_FIELD_NUMBER

Valor Constante: 6

público estático final int INPUT_ARG_FIELD_NUMBER

Valor Constante: 2

público estático final int IS_AGGREGATE_FIELD_NUMBER

Valor Constante: 16

público estático final int IS_COMMUTATIVE_FIELD_NUMBER

Valor Constante: 18

público estático final int IS_STATEFUL_FIELD_NUMBER

Valor Constante: 17

int final estático público NAME_FIELD_NUMBER

Valor Constante: 1

público estático final int OUTPUT_ARG_FIELD_NUMBER

Valor Constante: 3

público estático final int SUMMARY_FIELD_NUMBER

Valor Constante: 5

Métodos Públicos

booleano público é igual (Object obj)

público 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;

público OpDef.AttrDef getAttr (índice int)

repeated .tensorflow.OpDef.AttrDef attr = 4;

público int getAttrCount ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

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

repeated .tensorflow.OpDef.AttrDef attr = 4;

público OpDef.AttrDefOrBuilder getAttrOrBuilder (índice int)

repeated .tensorflow.OpDef.AttrDef attr = 4;

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

repeated .tensorflow.OpDef.AttrDef attr = 4;

String pública getControlOutput (índice 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;

público com.google.protobuf.ByteString getControlOutputBytes (índice 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;

público 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;

público 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;

público estático OpDef getDefaultInstance ()

OpDef público getDefaultInstanceForType ()

OpDeprecation público getDeprecation ()

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

público OpDeprecationOrBuilder getDeprecationOrBuilder ()

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

String pública getDescrição ()

 Additional, longer human-readable description of what the Op does.
 
string description = 6;

público com.google.protobuf.ByteString getDescriptionBytes ()

 Additional, longer human-readable description of what the Op does.
 
string description = 6;

final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()

público OpDef.ArgDef getInputArg (índice int)

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

público 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;

público OpDef.ArgDefOrBuilder getInputArgOrBuilder (índice int)

 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;

getIsAggregate booleano público ()

 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;

público booleano getIsCommutative ()

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

getIsStateful booleano público ()

 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;

String pública getNome ()

 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;

público 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;

público OpDef.ArgDef getOutputArg (índice int)

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

público int getOutputArgCount ()

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

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

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

público OpDef.ArgDefOrBuilder getOutputArgOrBuilder (índice int)

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

público int getSerializedSize ()

String pública getSummary ()

 One-line human-readable description of what the Op does.
 
string summary = 5;

público com.google.protobuf.ByteString getSummaryBytes ()

 One-line human-readable description of what the Op does.
 
string summary = 5;

final público com.google.protobuf.UnknownFieldSet getUnknownFields ()

hasDeprecation booleano público ()

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

hashCode int público ()

público final booleano isInitialized ()

público estático OpDef.Builder newBuilder (protótipo OpDef )

público estático OpDef.Builder newBuilder ()

público OpDef.Builder newBuilderForType ()

público estático OpDef parseDelimitedFrom (entrada InputStream)

Lança
IOException

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

Lança
IOException

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

Lança
InvalidProtocolBufferException

parseFrom OpDef estático público (entrada com.google.protobuf.CodedInputStream)

Lança
IOException

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

Lança
InvalidProtocolBufferException

público estático OpDef parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

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

Lança
IOException

parseFrom OpDef estático público (dados com.google.protobuf.ByteString)

Lança
InvalidProtocolBufferException

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

Lança
IOException

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

Lança
InvalidProtocolBufferException

estática pública analisador ()

OpDef.Builder público paraBuilder ()

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

Lança
IOException