OpDef

パブリック最終クラスOpD​​ef

 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

パブリックメソッド

ブール値
等しい(オブジェクトオブジェクト)
ブール値
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
作戦防御
運用の廃止
get非推奨()
 Optional deprecation based on GraphDef versions.
OpDeprecationOrBuilder
getDeprecationOrBuilder ()
 Optional deprecation based on GraphDef versions.
get説明()
 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 (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).
整数
get概要()
 One-line human-readable description of what the Op does.
com.google.protobuf.ByteString
getサマリーバイト()
 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 (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

public static Final int 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

パブリックメソッド

public booleanに等しい(オブジェクト obj)

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

public List< OpDef.AttrDef > getAttrList ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

public OpDef.AttrDefOrBuilder getAttrOrBuilder (int インデックス)

repeated .tensorflow.OpDef.AttrDef attr = 4;

公開リスト<? extends OpDef.AttrDefOrBuilder > getAttrOrBuilderList ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

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

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;

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

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

公開リスト<? extends 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;

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

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

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

公開リスト<? extends OpDef.ArgDefOrBuilder > getOutputArgOrBuilderList ()

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

公共getParserForType ()

public int getSerializedSize ()

public String 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 boolean hasDeprecation ()

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

public int hashCode ()

パブリック最終ブール値isInitialized ()

public static OpDef.Builder newBuilder ( OpDefプロトタイプ)

public static OpDef.Builder newBuilder ()

public OpDef.Builder newBuilderForType ()

public static OpDef parseDelimitedFrom (InputStream 入力)

投げる
IO例外

public static OpDef parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static OpDef parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

public static OpDef parseFrom (com.google.protobuf.CodedInputStream 入力)

投げる
IO例外

public static OpDef parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

public static OpDef parseFrom (ByteBuffer データ)

投げる
無効なプロトコルバッファ例外

public static OpDef parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static OpDef parseFrom (com.google.protobuf.ByteString データ)

投げる
無効なプロトコルバッファ例外

public static OpDef parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static OpDef parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

パブリック静的パーサー()

public OpDef.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream 出力)

投げる
IO例外