OpDef

clase 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
 
Protobuf tipo tensorflow.OpDef

Clases anidadas

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

Constantes

En t ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER
En t ATTR_FIELD_NUMBER
En t CONTROL_OUTPUT_FIELD_NUMBER
En t DEPRECATION_FIELD_NUMBER
En t DESCRIPTION_FIELD_NUMBER
En t INPUT_ARG_FIELD_NUMBER
En t IS_AGGREGATE_FIELD_NUMBER
En t IS_COMMUTATIVE_FIELD_NUMBER
En t IS_STATEFUL_FIELD_NUMBER
En t NOMBRE_CAMPO_NÚMERO
En t SALIDA_ARG_CAMPO_NUMBER
En t SUMMARY_FIELD_NUMBER

Métodos públicos

booleano
es igual (Objeto obj)
booleano
getAllowsUninitializedInput ()
 By default, all inputs to an Op must be initialized Tensors.
OpDef.AttrDef
getAttr (índice int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
En t
getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
Lista< OpDef.AttrDef >
obtenerListaDeAtributos ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
OpDef.AttrDefOrBuilder
getAttrOrBuilder (índice int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Lista<? extiende OpDef.AttrDefOrBuilder >
getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
Cadena
getControlOutput (índice int)
 Named control outputs for this operation.
com.google.protobuf.ByteString
getControlOutputBytes (índice int)
 Named control outputs for this operation.
En t
getControlOutputCount ()
 Named control outputs for this operation.
com.google.protobuf.ProtocolStringList
getControlOutputList ()
 Named control outputs for this operation.
OpDef estática
OpDef
OpDeprecación
getDeprecation ()
 Optional deprecation based on GraphDef versions.
OpDeprecationOrBuilder
getDeprecationOrBuilder ()
 Optional deprecation based on GraphDef versions.
Cadena
obtener descripción ()
 Additional, longer human-readable description of what the Op does.
com.google.protobuf.ByteString
obtenerDescripciónBytes ()
 Additional, longer human-readable description of what the Op does.
com.google.protobuf.Descriptors.Descriptor estático final
OpDef.ArgDef
getInputArg (índice int)
 Description of the input(s).
En t
obtenerInputArgCount ()
 Description of the input(s).
Lista< OpDef.ArgDef >
obtenerInputArgList ()
 Description of the input(s).
OpDef.ArgDefOrBuilder
getInputArgOrBuilder (índice int)
 Description of the input(s).
Lista<? extiende 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.
Cadena
obtenerNombre ()
 Op names starting with an underscore are reserved for internal use.
com.google.protobuf.ByteString
getNombreBytes ()
 Op names starting with an underscore are reserved for internal use.
OpDef.ArgDef
getOutputArg (índice int)
 Description of the output(s).
En t
getOutputArgCount ()
 Description of the output(s).
Lista< OpDef.ArgDef >
getOutputArgList ()
 Description of the output(s).
OpDef.ArgDefOrBuilder
getOutputArgOrBuilder (índice int)
 Description of the output(s).
Lista<? extiende OpDef.ArgDefOrBuilder >
getOutputArgOrBuilderList ()
 Description of the output(s).
En t
Cadena
obtenerResumen ()
 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.
com.google.protobuf.UnknownFieldSet final
booleano
tieneDeprecation ()
 Optional deprecation based on GraphDef versions.
En t
booleano final
OpDef.Builder estático
newBuilder (prototipo OpDef )
OpDef.Builder estático
OpDef.Constructor
OpDef estática
parseDelimitedFrom (entrada de InputStream)
OpDef estática
parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef estática
parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef estática
parseFrom (entrada com.google.protobuf.CodedInputStream)
OpDef estática
parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef estática
parseFrom (datos de ByteBuffer)
OpDef estática
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
OpDef estática
parseFrom (datos com.google.protobuf.ByteString)
OpDef estática
parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef estática
parseFrom (com.google.protobuf.ByteString datos, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
estático
OpDef.Constructor
vacío
writeTo (salida de com.google.protobuf.CodedOutputStream)

Métodos heredados

Constantes

int final estático público ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER

Valor constante: 19

int final estático público ATTR_FIELD_NUMBER

Valor constante: 4

int final estático público CONTROL_OUTPUT_FIELD_NUMBER

Valor constante: 20

int final estático público DEPRECATION_FIELD_NUMBER

Valor constante: 8

int final estático público DESCRIPTION_FIELD_NUMBER

Valor constante: 6

int final estático público INPUT_ARG_FIELD_NUMBER

Valor constante: 2

int final estático público IS_AGGREGATE_FIELD_NUMBER

Valor constante: 16

int final estático público IS_COMMUTATIVE_FIELD_NUMBER

Valor constante: 18

int final estático público IS_STATEFUL_FIELD_NUMBER

Valor constante: 17

público estático final int NAME_FIELD_NUMBER

Valor constante: 1

int final estático público OUTPUT_ARG_FIELD_NUMBER

Valor constante: 3

int final estático público SUMMARY_FIELD_NUMBER

Valor constante: 5

Métodos públicos

público booleano es igual (Objeto obj)

getAllowsUninitializedInput booleano público ()

 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<? extiende OpDef.AttrDefOrBuilder > getAttrOrBuilderList ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

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

OpDef estática pública getDefaultInstance ()

OpDef pública getDefaultInstanceForType ()

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

cadena pública getDescription ()

 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;

público estático final 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<? extiende OpDef.ArgDefOrBuilder > getInputArgOrBuilderList ()

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

getIsAggregate público booleano ()

 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;

getIsCommutative booleano público ()

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

getIsStateful público booleano ()

 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;

cadena pública 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;

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<? extiende OpDef.ArgDefOrBuilder > getOutputArgOrBuilderList ()

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

público getParserForType ()

público int getSerializedSize ()

cadena pública getSummary ()

resumen de cadena

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

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

resumen de cadena

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

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

hasDeprecation público booleano ()

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

código hash int público ()

público final booleano isInitialized ()

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

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

público OpDef.Builder newBuilderForType ()

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

Lanza
IOExcepción

OpDef estático público parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

parseFrom público estático de OpDef (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

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

Lanza
IOExcepción

parseFrom OpDef estático público (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

ParseFrom de OpDef estático público (datos de ByteBuffer)

Lanza
Excepción de buffer de protocolo no válido

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

Lanza
IOExcepción

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

Lanza
Excepción de buffer de protocolo no válido

parseFrom OpDef estático público (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

parseFrom OpDef estático público (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

estática pública analizador ()

público OpDef.Builder toBuilder ()

escritura vacía pública (salida de com.google.protobuf.CodedOutputStream)

Lanza
IOExcepción