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
сорт ОпДеф.АттрДеф
 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

Публичные методы

логическое значение
равно (Объект obj)
логическое значение
getAllowsUninitializedInput ()
 By default, all inputs to an Op must be initialized Tensors.
ОпДеф.АттрДеф
getAttr (целевой индекс)
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 (индекс целого числа)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Список<? расширяет OpDef.AttrDefOrBuilder >
getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
Нить
getControlOutput (индекс целого числа)
 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
ОпДеф
Устаревание
получить устаревание ()
 Optional deprecation based on GraphDef versions.
OpDeprecationOrBuilder
getDeprecationOrBuilder ()
 Optional deprecation based on GraphDef versions.
Нить
получитьОписание ()
 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.
окончательный статический com.google.protobuf.Descriptors.Descriptor
OpDef.ArgDef
getInputArg (целочисленный индекс)
 Description of the input(s).
интервал
getInputArgCount ()
 Description of the input(s).
Список< OpDef.ArgDef >
getInputArgList ()
 Description of the input(s).
OpDef.ArgDefOrBuilder
getInputArgOrBuilder (индекс целого числа)
 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.
Нить
получитьИмя ()
 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 (индекс целого числа)
 Description of the output(s).
интервал
getOutputArgCount ()
 Description of the output(s).
Список< OpDef.ArgDef >
getOutputArgList ()
 Description of the output(s).
OpDef.ArgDefOrBuilder
getOutputArgOrBuilder (индекс целого числа)
 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 (данные 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 (ввод входного потока, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статический OpDef
parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статический
OpDef.Builder
пустота
writeTo (вывод com.google.protobuf.CodedOutputStream)

Унаследованные методы

Константы

общедоступный статический окончательный int ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER

Постоянное значение: 19

общедоступный статический окончательный int ATTR_FIELD_NUMBER

Постоянное значение: 4

общедоступный статический окончательный int CONTROL_OUTPUT_FIELD_NUMBER

Постоянное значение: 20

общедоступный статический окончательный int DEPRECATION_FIELD_NUMBER

Постоянное значение: 8

общедоступный статический окончательный int DESCRIPTION_FIELD_NUMBER

Постоянное значение: 6

общедоступный статический окончательный int INPUT_ARG_FIELD_NUMBER

Постоянное значение: 2

общедоступный статический окончательный int IS_AGGREGATE_FIELD_NUMBER

Постоянное значение: 16

общедоступный статический окончательный int IS_COMMUTATIVE_FIELD_NUMBER

Постоянное значение: 18

общедоступный статический окончательный int IS_STATEFUL_FIELD_NUMBER

Постоянное значение: 17

общедоступный статический окончательный int NAME_FIELD_NUMBER

Постоянное значение: 1

общедоступный статический окончательный int OUTPUT_ARG_FIELD_NUMBER

Постоянное значение: 3

общедоступный статический окончательный int 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 (индекс int)

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 (индекс int)

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;

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

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;

общедоступный 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 ()

общественный 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;

public com.google.protobuf.ByteString getDescriptionBytes ()

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

общедоступный статический окончательный 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)

 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)

 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;

публичный финал com.google.protobuf.UnknownFieldSet getUnknownFields ()

общедоступное логическое значение hasDeprecation ()

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

public int hashCode ()

публичное окончательное логическое значение isInitialized ()

общедоступный статический OpDef.Builder newBuilder (прототип OpDef )

общедоступный статический OpDef.Builder newBuilder ()

общедоступный OpDef.Builder newBuilderForType ()

общедоступный статический OpDef parseDelimitedFrom (вход InputStream)

Броски
Исключение IO

общедоступный статический OpDef parseDelimitedFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Исключение IO

общедоступный статический OpDef parseFrom (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический OpDef parseFrom (вход com.google.protobuf.CodedInputStream)

Броски
Исключение IO

общедоступный статический OpDef parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический OpDef parseFrom (данные ByteBuffer)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический OpDef parseFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Исключение IO

общедоступный статический OpDef parseFrom (данные com.google.protobuf.ByteString)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический OpDef parseFrom (вход InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Исключение IO

общедоступный статический OpDef parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Инвалидпротоколбуфферисключение

общественный статический парсер ()

общедоступный OpDef.Builder toBuilder ()

public void writeTo (вывод com.google.protobuf.CodedOutputStream)

Броски
Исключение IO