OpDef

classe finale publique 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 de type Protobuf.OpDef

Classes imbriquées

classe OpDef.ArgDef
 For describing inputs and outputs. 
interface OpDef.ArgDefOrBuilder
classe OpDef.AttrDef
 Description of the graph-construction-time configuration of this
 Op. 
interface OpDef.AttrDefOrBuilder
classe 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éthodes publiques

booléen
est égal (Obj objet)
booléen
getAllowsUninitializedInput ()
 By default, all inputs to an Op must be initialized Tensors.
OpDef.AttrDef
getAttr (index int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
int
getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
Liste< OpDef.AttrDef >
getAttrListe ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
OpDef.AttrDefOrBuilder
getAttrOrBuilder (index int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Liste<? étend OpDef.AttrDefOrBuilder >
getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
Chaîne
getControlOutput (index int)
 Named control outputs for this operation.
com.google.protobuf.ByteString
getControlOutputBytes (index 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 statique
OpDef
OpDépréciation
getDépréciation ()
 Optional deprecation based on GraphDef versions.
OpDeprecationOrBuilder
getDeprecationOrBuilder ()
 Optional deprecation based on GraphDef versions.
Chaîne
obtenirDescription ()
 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 statique com.google.protobuf.Descriptors.Descriptor
OpDef.ArgDef
getInputArg (index int)
 Description of the input(s).
int
getInputArgCount ()
 Description of the input(s).
Liste< OpDef.ArgDef >
getInputArgList ()
 Description of the input(s).
OpDef.ArgDefOrBuilder
getInputArgOrBuilder (index int)
 Description of the input(s).
Liste<? étend OpDef.ArgDefOrBuilder >
getInputArgOrBuilderList ()
 Description of the input(s).
booléen
getIsAggregate ()
 If is_aggregate is true, then this operation accepts N >= 2
 inputs and produces 1 output all of the same type.
booléen
getIsCommutative ()
 True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
 
bool is_commutative = 18;
booléen
getIsStateful ()
 Ops are marked as stateful if their behavior depends on some state beyond
 their input tensors (e.g.
Chaîne
obtenirNom ()
 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 (index int)
 Description of the output(s).
int
getOutputArgCount ()
 Description of the output(s).
Liste< OpDef.ArgDef >
getOutputArgList ()
 Description of the output(s).
OpDef.ArgDefOrBuilder
getOutputArgOrBuilder (index int)
 Description of the output(s).
Liste<? étend OpDef.ArgDefOrBuilder >
getOutputArgOrBuilderList ()
 Description of the output(s).
int
Chaîne
getRésumé ()
 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
booléen
hasDépréciation ()
 Optional deprecation based on GraphDef versions.
int
booléen final
OpDef.Builder statique
newBuilder (prototype OpDef )
OpDef.Builder statique
OpDef.Builder
OpDef statique
parseDelimitedFrom (entrée InputStream)
OpDef statique
parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef statique
parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef statique
parseFrom (entrée com.google.protobuf.CodedInputStream)
OpDef statique
parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef statique
parseFrom (données ByteBuffer)
OpDef statique
parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef statique
parseFrom (données com.google.protobuf.ByteString)
OpDef statique
parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef statique
parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique
OpDef.Builder
vide
writeTo (sortie com.google.protobuf.CodedOutputStream)

Méthodes héritées

Constantes

public statique final int ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER

Valeur constante : 19

public statique final entier ATTR_FIELD_NUMBER

Valeur constante : 4

public statique final int CONTROL_OUTPUT_FIELD_NUMBER

Valeur constante : 20

public statique final entier DEPRECATION_FIELD_NUMBER

Valeur constante : 8

public statique final int DESCRIPTION_FIELD_NUMBER

Valeur constante : 6

public statique final int INPUT_ARG_FIELD_NUMBER

Valeur constante : 2

public statique final int IS_AGGREGATE_FIELD_NUMBER

Valeur constante : 16

public statique final int IS_COMMUTATIVE_FIELD_NUMBER

Valeur constante : 18

public statique final int IS_STATEFUL_FIELD_NUMBER

Valeur constante : 17

public statique final entier NAME_FIELD_NUMBER

Valeur constante : 1

public statique final int OUTPUT_ARG_FIELD_NUMBER

Valeur constante : 3

public statique final entier SUMMARY_FIELD_NUMBER

Valeur constante : 5

Méthodes publiques

public booléen égal (Objet obj)

public booléen 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 (index int)

repeated .tensorflow.OpDef.AttrDef attr = 4;

public int getAttrCount ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

Liste publique < OpDef.AttrDef > getAttrList ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

public OpDef.AttrDefOrBuilder getAttrOrBuilder (index int)

repeated .tensorflow.OpDef.AttrDef attr = 4;

Liste publique <? étend OpDef.AttrDefOrBuilder > getAttrOrBuilderList ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

chaîne publique getControlOutput (index 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 com.google.protobuf.ByteString getControlOutputBytes (index 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;

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

chaîne publique 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 statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public OpDef.ArgDef getInputArg (index 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;

Liste publique < OpDef.ArgDef > getInputArgList ()

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

public OpDef.ArgDefOrBuilder getInputArgOrBuilder (index int)

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

Liste publique <? étend OpDef.ArgDefOrBuilder > getInputArgOrBuilderList ()

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

public booléen 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 booléen getIsCommutative ()

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

public booléen 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;

chaîne publique 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 (index 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;

Liste publique < OpDef.ArgDef > getOutputArgList ()

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

public OpDef.ArgDefOrBuilder getOutputArgOrBuilder (index int)

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

Liste publique <? étend OpDef.ArgDefOrBuilder > getOutputArgOrBuilderList ()

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

publique getParserForType ()

public int getSerializedSize ()

chaîne publique 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 booléen hasDeprecation ()

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

code de hachage int public ()

public final booléen isInitialized ()

public statique OpDef.Builder newBuilder (prototype OpDef )

public statique OpDef.Builder newBuilder ()

public OpDef.Builder newBuilderForType ()

public statique OpDef parseDelimitedFrom (entrée InputStream)

Jetés
IOException

public statique OpDef parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static OpDef parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique OpDef parseFrom (entrée com.google.protobuf.CodedInputStream)

Jetés
IOException

public static OpDef parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique OpDef parseFrom (données ByteBuffer)

Jetés
InvalidProtocolBufferException

public statique OpDef parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

analyse OpDef statique publique (données com.google.protobuf.ByteString)

Jetés
InvalidProtocolBufferException

public static OpDef parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique OpDef parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique analyseur ()

public OpDef.Builder toBuilder ()

public void writeTo (sortie com.google.protobuf.CodedOutputStream)

Jetés
IOException