OpDef

כיתת גמר ציבורית 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 tensorflow.OpDef

כיתות מקוננות

מַחלָקָה OpDef.ArgDef
 For describing inputs and outputs. 
מִמְשָׁק OpDef.ArgDefOrBuilder
מַחלָקָה OpDef.AttrDef
 Description of the graph-construction-time configuration of this
 Op. 
מִמְשָׁק OpDef.AttrDefOrBuilder
מַחלָקָה OpDef.Builder
 Defines an operation. 

קבועים

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

שיטות ציבוריות

בוליאני
שווה (Object obj)
בוליאני
getAllowsUninitializedInput ()
 By default, all inputs to an Op must be initialized Tensors.
OpDef.AttrDef
getAttr (אינדקס int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
int
getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
רשימה< OpDef.AttrDef >
getAttrList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
OpDef.AttrDefOrBuilder
getAttrOrBuilder (int index)
repeated .tensorflow.OpDef.AttrDef attr = 4;
רשימה<? מרחיב את OpDef.AttrDefOrBuilder >
getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
חוּט
getControlOutput (int index)
 Named control outputs for this operation.
com.google.protobuf.ByteString
getControlOutputBytes (int index)
 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
OpDef
OpDeprecation
getDeprecation ()
 Optional deprecation based on GraphDef versions.
OpDeprecationOrBuilder
getDeprecationOrBuilder ()
 Optional deprecation based on GraphDef versions.
חוּט
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).
רשימה< OpDef.ArgDef >
getInputArgList ()
 Description of the input(s).
OpDef.ArgDefOrBuilder
getInputArgOrBuilder (int index)
 Description of the input(s).
רשימה<? מרחיב את OpDef.ArgDefOrBuilder >
getInputArgOrBuilderList ()
 Description of the input(s).
בוליאני
getIsAggregate ()
 If is_aggregate is true, then this operation accepts N >= 2
 inputs and produces 1 output all of the same type.
בוליאני
getIsCommutative ()
 True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
 
bool is_commutative = 18;
בוליאני
getIsStateful ()
 Ops are marked as stateful if their behavior depends on some state beyond
 their input tensors (e.g.
חוּט
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).
רשימה< OpDef.ArgDef >
getOutputArgList ()
 Description of the output(s).
OpDef.ArgDefOrBuilder
getOutputArgOrBuilder (int index)
 Description of the output(s).
רשימה<? מרחיב את OpDef.ArgDefOrBuilder >
getOutputArgOrBuilderList ()
 Description of the output(s).
int
חוּט
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
בוליאני
has Deprecation ()
 Optional deprecation based on GraphDef versions.
int
בוליאנית סופית
סטטי OpDef.Builder
newBuilder (אב-טיפוס OpDef )
סטטי OpDef.Builder
OpDef.Builder
סטטי OpDef
parseDelimitedFrom (קלט InputStream)
סטטי OpDef
parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי OpDef
parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי OpDef
parseFrom (קלט com.google.protobuf.CodedInputStream)
סטטי OpDef
parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי OpDef
parseFrom (נתוני ByteBuffer)
סטטי OpDef
parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי OpDef
parseFrom (נתוני com.google.protobuf.ByteString)
סטטי OpDef
parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי OpDef
parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטָטִי
OpDef.Builder
בָּטֵל
writeTo (פלט com.google.protobuf.CodedOutputStream)

שיטות בירושה

קבועים

אינט סופי סטטי ציבורי ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER

ערך קבוע: 19

גמר סטטי ציבורי ATTR_FIELD_NUMBER

ערך קבוע: 4

אינט סופי סטטי ציבורי CONTROL_OUTPUT_FIELD_NUMBER

ערך קבוע: 20

גמר סטטי ציבורי DEPRECATION_FIELD_NUMBER

ערך קבוע: 8

גמר סטטי ציבורי DESCRIPTION_FIELD_NUMBER

ערך קבוע: 6

גמר סטטי ציבורי INPUT_ARG_FIELD_NUMBER

ערך קבוע: 2

גמר סטטי ציבורי IS_AGGREGATE_FIELD_NUMBER

ערך קבוע: 16

אינט סופי סטטי ציבורי IS_COMMUTATIVE_FIELD_NUMBER

ערך קבוע: 18

גמר סטטי ציבורי IS_STATEFUL_FIELD_NUMBER

ערך קבוע: 17

גמר סטטי ציבורי NAME_FIELD_NUMBER

ערך קבוע: 1

אינט סופי סטטי ציבורי OUTPUT_ARG_FIELD_NUMBER

ערך קבוע: 3

גמר סטטי ציבורי SUMMARY_FIELD_NUMBER

ערך קבוע: 5

שיטות ציבוריות

שווה ערך בוליאני ציבורי (Object obj)

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 (אינדקס אינט)

repeated .tensorflow.OpDef.AttrDef attr = 4;

public int getAttrCount ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

רשימה ציבורית< OpDef.AttrDef > getAttrList ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

Public OpDef.AttrDefOrBuilder getAttrOrBuilder (אינדקס אינט)

repeated .tensorflow.OpDef.AttrDef attr = 4;

רשימה ציבורית<? מרחיב את OpDef.AttrDefOrBuilder > getAttrOrBuilderList ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

מחרוזת ציבורית getControlOutput (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 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;

ציבורי סטטי 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;

מחרוזת ציבורית 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)

 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;

רשימה ציבורית< OpDef.ArgDef > getInputArgList ()

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

Public OpDef.ArgDefOrBuilder getInputArgOrBuilder (int index)

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

רשימה ציבורית<? מרחיב את OpDef.ArgDefOrBuilder > getInputArgOrBuilderList ()

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

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;

getIsCommutative בוליאני ציבורי ()

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

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;

מחרוזת ציבורית 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)

 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;

רשימה ציבורית< OpDef.ArgDef > getOutputArgList ()

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

public OpDef.ArgDefOrBuilder getOutputArgOrBuilder (int index)

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

רשימה ציבורית<? מרחיב את OpDef.ArgDefOrBuilder > getOutputArgOrBuilderList ()

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

פּוּמְבֵּי getParserForType ()

public int getSerializedSize ()

מחרוזת ציבורית 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 ()

יש הוצאה בוליאני ציבורי ()

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

public int hashCode ()

בוליאני הסופי הציבורי הוא אתחול ()

OpDef.Builder newBuilder סטטי ציבורי (אב-טיפוס OpDef )

ציבורי סטטי OpDef.Builder newBuilder ()

public OpDef.Builder newBuilderForType ()

Public static OpDef parseDelimitedFrom (קלט InputStream)

זורק
IOException

public static OpDef parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

OpDef parseFrom סטטי ציבורי (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

OpDef parseFrom סטטי ציבורי (קלט com.google.protobuf.CodedInputStream)

זורק
IOException

Public static OpDef parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

OpDef parseFrom סטטי ציבורי (נתוני ByteBuffer)

זורק
InvalidProtocolBufferException

OpDef parseFrom סטטי ציבורי (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

OpDef parseFrom סטטי ציבורי (נתוני com.google.protobuf.ByteString)

זורק
InvalidProtocolBufferException

OpDef parseFrom סטטי ציבורי (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

Public static OpDef parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

סטטי ציבורי מנתח ()

Public OpDef.Builder toBuilder ()

public void writeTo (פלט com.google.protobuf.CodedOutputStream)

זורק
IOException