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. 

ثابت ها

بین المللی ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER
بین المللی ATTR_FIELD_NUMBER
بین المللی CONTROL_OUTPUT_FIELD_NUMBER
بین المللی DEPRECATION_FIELD_NUMBER
بین المللی DESCRIPTION_FIELD_NUMBER
بین المللی INPUT_ARG_FIELD_NUMBER
بین المللی IS_AGGREGATE_FIELD_NUMBER
بین المللی IS_COMMUTATIVE_FIELD_NUMBER
بین المللی IS_STATEFUL_FIELD_NUMBER
بین المللی NAME_FIELD_NUMBER
بین المللی OUTPUT_ARG_FIELD_NUMBER
بین المللی 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;
بین المللی
getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
فهرست< OpDef.AttrDef >
getAttrList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
OpDef.AttrDefOrBuilder
getAttrOrBuilder (شاخص int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
لیست<? OpDef.AttrDefOrBuilder > را گسترش می دهد
getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
رشته
getControlOutput (شاخص int)
 Named control outputs for this operation.
com.google.protobuf.ByteString
getControlOutputBytes (شاخص int)
 Named control outputs for this operation.
بین المللی
getControlOutputCount ()
 Named control outputs for this operation.
com.google.protobuf.ProtocolStringList
getControlOutputList ()
 Named control outputs for this operation.
OpDef استاتیک
OpDef
Op Deprecation
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.
نهایی static com.google.protobuf.Descriptors.Descriptor
OpDef.ArgDef
getInputArg (شاخص int)
 Description of the input(s).
بین المللی
getInputArgCount ()
 Description of the input(s).
فهرست< OpDef.ArgDef >
getInputArgList ()
 Description of the input(s).
OpDef.ArgDefOrBuilder
getInputArgOrBuilder (شاخص int)
 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)
 Description of the output(s).
بین المللی
getOutputArgCount ()
 Description of the output(s).
فهرست< OpDef.ArgDef >
getOutputArgList ()
 Description of the output(s).
OpDef.ArgDefOrBuilder
getOutputArgOrBuilder (شاخص int)
 Description of the output(s).
لیست<? OpDef.ArgDefOrBuilder > را گسترش می دهد
getOutputArgOrBuilderList ()
 Description of the output(s).
بین المللی
رشته
دریافت خلاصه ()
 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 نهایی
بولی
دارای منسوخ شدن ()
 Optional deprecation based on GraphDef versions.
بین المللی
بولی نهایی
استاتیک OpDef.Builder
newBuilder (نمونه اولیه OpDef )
استاتیک OpDef.Builder
OpDef.Builder
OpDef استاتیک
parseDelimitedFrom (ورودی جریان ورودی)
OpDef استاتیک
parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef استاتیک
parseFrom (داده‌های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef استاتیک
parseFrom (ورودی com.google.protobuf.CodedInputStream)
OpDef استاتیک
parseFrom (بایت[] داده، 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;

عمومی OpDef.AttrDef getAttr (int index)

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)

 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;

عمومی com.google.protobuf.ByteString getControlOutputBytes (شاخص 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;

عمومی 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;

عمومی 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 ()

عمومی OpDef getDefaultInstanceForType ()

OpDeprecation عمومی getDeprecation ()

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

عمومی 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;

عمومی 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 ()

عمومی OpDef.ArgDef getInputArg (int index)

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

عمومی 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;

عمومی 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 ()

string name = 1;

 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>_]*".
 
= 1;

عمومی com.google.protobuf.ByteString getNameBytes ()

string name = 1;

 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>_]*".
 
= 1;

عمومی OpDef.ArgDef getOutputArg (int index)

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

عمومی 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;

عمومی 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 ()

عمومی int getSerializedSize ()

رشته عمومی getSummary ()

string summary = 5;

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

عمومی com.google.protobuf.ByteString getSummaryBytes ()

string summary = 5;

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

عمومی نهایی com.google.protobuf.UnknownFieldSet getUnknownFields ()

بولین عمومی hasDeprecation ()

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

هش کد عمومی ()

بولین نهایی عمومی isInitialized ()

عمومی استاتیک OpDef.Builder newBuilder (نمونه اولیه OpDef )

عمومی استاتیک OpDef.Builder newBuilder ()

عمومی OpDef.Builder newBuilderForType ()

عمومی استاتیک OpDef parseDelimitedFrom (ورودی جریان ورودی)

پرتاب می کند
IOException

عمومی استاتیک 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

عمومی استاتیک OpDef parseFrom (بایت[] داده، 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

عمومی استاتیک OpDef parseFrom (داده های com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

استاتیک عمومی تجزیه کننده ()

عمومی OpDef.Builder toBuilder ()

public void writeTo (خروجی com.google.protobuf.CodedOutputStream)

پرتاب می کند
IOException