OpDef kelas akhir publik
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.IfChangeTipe protobuf
tensorflow.OpDef
Kelas Bersarang
kelas | OpDef.ArgDef | For describing inputs and outputs. | |
antarmuka | OpDef.ArgDefOrBuilder | ||
kelas | OpDef.AttrDef | Description of the graph-construction-time configuration of this Op. | |
antarmuka | OpDef.AttrDefOrBuilder | ||
kelas | OpDef.Builder | Defines an operation. |
Konstanta
ke dalam | ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER | |
ke dalam | ATTR_FIELD_NUMBER | |
ke dalam | CONTROL_OUTPUT_FIELD_NUMBER | |
ke dalam | DEPRECATION_FIELD_NUMBER | |
ke dalam | DESCRIPTION_FIELD_NUMBER | |
ke dalam | INPUT_ARG_FIELD_NUMBER | |
ke dalam | IS_AGGREGATE_FIELD_NUMBER | |
ke dalam | IS_COMMUTATIVE_FIELD_NUMBER | |
ke dalam | IS_STATEFUL_FIELD_NUMBER | |
ke dalam | NAME_FIELD_NUMBER | |
ke dalam | OUTPUT_ARG_FIELD_NUMBER | |
ke dalam | SUMMARY_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
boolean | getAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
OpDef.AttrDef | getAttr (indeks int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
ke dalam | dapatkanAttrCount () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Daftar< OpDef.AttrDef > | dapatkanAttrList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDefOrBuilder | getAttrOrBuilder (indeks int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Daftar<? memperluas OpDef.AttrDefOrBuilder > | dapatkanAttrOrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Rangkaian | getControlOutput (indeks int) Named control outputs for this operation. |
com.google.protobuf.ByteString | getControlOutputBytes (indeks int) Named control outputs for this operation. |
ke dalam | dapatkanControlOutputCount () Named control outputs for this operation. |
com.google.protobuf.ProtocolStringList | dapatkanControlOutputList () Named control outputs for this operation. |
OpDef statis | |
OpDef | |
Penghentian Op | dapatkan Penghentian () Optional deprecation based on GraphDef versions. |
OpDeprecationOrBuilder | dapatkanDeprecationOrBuilder () Optional deprecation based on GraphDef versions. |
Rangkaian | dapatkanDeskripsi () Additional, longer human-readable description of what the Op does. |
com.google.protobuf.ByteString | dapatkanDeskripsiBytes () Additional, longer human-readable description of what the Op does. |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
OpDef.ArgDef | getInputArg (indeks int) Description of the input(s). |
ke dalam | dapatkanInputArgCount () Description of the input(s). |
Daftar< OpDef.ArgDef > | dapatkanInputArgList () Description of the input(s). |
OpDef.ArgDefOrBuilder | getInputArgOrBuilder (indeks int) Description of the input(s). |
Daftar<? memperluas OpDef.ArgDefOrBuilder > | dapatkanInputArgOrBuilderList () Description of the input(s). |
boolean | getIsAggregate () If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
boolean | getIsCommutative () True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
boolean | getIsStateful () Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
Rangkaian | dapatkan Nama () Op names starting with an underscore are reserved for internal use. |
com.google.protobuf.ByteString | dapatkanNamaBytes () Op names starting with an underscore are reserved for internal use. |
OpDef.ArgDef | getOutputArg (indeks int) Description of the output(s). |
ke dalam | dapatkanOutputArgCount () Description of the output(s). |
Daftar< OpDef.ArgDef > | dapatkanOutputArgList () Description of the output(s). |
OpDef.ArgDefOrBuilder | getOutputArgOrBuilder (indeks int) Description of the output(s). |
Daftar<? memperluas OpDef.ArgDefOrBuilder > | dapatkanOutputArgOrBuilderList () Description of the output(s). |
ke dalam | |
Rangkaian | dapatkan Ringkasan () One-line human-readable description of what the Op does. |
com.google.protobuf.ByteString | dapatkanSummaryBytes () One-line human-readable description of what the Op does. |
final com.google.protobuf.UnknownFieldSet | |
boolean | sudah tidak digunakan lagi () Optional deprecation based on GraphDef versions. |
ke dalam | Kode hash () |
boolean terakhir | |
OpDef.Builder statis | newBuilder (prototipe OpDef ) |
OpDef.Builder statis | |
OpDef.Builder | |
OpDef statis | parseDelimitedFrom (masukan Aliran Masukan) |
OpDef statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
OpDef statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef statis | parseFrom (data ByteBuffer) |
OpDef statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef statis | parseFrom (com.google.protobuf.ByteString data) |
OpDef statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
OpDef.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int final statis publik ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER
Nilai Konstan: 19
int akhir statis publik ATTR_FIELD_NUMBER
Nilai Konstan: 4
int akhir statis publik CONTROL_OUTPUT_FIELD_NUMBER
Nilai Konstan: 20
int akhir statis publik DEPRECATION_FIELD_NUMBER
Nilai Konstan: 8
int akhir statis publik DESCRIPTION_FIELD_NUMBER
Nilai Konstan: 6
int akhir statis publik INPUT_ARG_FIELD_NUMBER
Nilai Konstan: 2
int akhir statis publik IS_AGGREGATE_FIELD_NUMBER
Nilai Konstan: 16
int final statis publik IS_COMMUTATIVE_FIELD_NUMBER
Nilai Konstan: 18
int akhir statis publik IS_STATEFUL_FIELD_NUMBER
Nilai Konstan: 17
int final statis publik NAME_FIELD_NUMBER
Nilai Konstan: 1
int akhir statis publik OUTPUT_ARG_FIELD_NUMBER
Nilai Konstan: 3
int akhir statis publik SUMMARY_FIELD_NUMBER
Nilai Konstan: 5
Metode Publik
boolean publik sama (Obj objek)
getAllowsUninitializedInput boolean publik ()
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;
int publik getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
OpDef.AttrDefOrBuilder publik getAttrOrBuilder (indeks int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Daftar Publik<? memperluas OpDef.AttrDefOrBuilder > getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
String publik getControlOutput (indeks 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;
publik com.google.protobuf.ByteString getControlOutputBytes (indeks 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 publik 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 () publik
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;
OpDeprecation publik getDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
OpDeprecationOrBuilder publik getDeprecationOrBuilder ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
GetDeskripsi String publik ()
Additional, longer human-readable description of what the Op does.
string description = 6;
com.google.protobuf.ByteString publik 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 publik getInputArg (indeks int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
int publik getInputArgCount ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Daftar publik< OpDef.ArgDef > getInputArgList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
OpDef.ArgDefOrBuilder publik getInputArgOrBuilder (indeks int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Daftar Publik<? memperluas OpDef.ArgDefOrBuilder > getInputArgOrBuilderList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
getIsAggregate boolean publik ()
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;
boolean publik getIsCommutative ()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
boolean publik 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 publik ()
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;
publik 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;
OpDef.ArgDef publik getOutputArg (indeks int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
int publik getOutputArgCount ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Daftar publik< OpDef.ArgDef > getOutputArgList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
OpDef.ArgDefOrBuilder publik getOutputArgOrBuilder (int indeks)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Daftar Publik<? memperluas OpDef.ArgDefOrBuilder > getOutputArgOrBuilderList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
publik dapatkanParserForType ()
publik int getSerializedSize ()
String publik getSummary ()
One-line human-readable description of what the Op does.
string summary = 5;
publik 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 ()
boolean publik hasDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
kode hash int publik ()
boolean akhir publik diinisialisasi ()
parseDelimitedFrom OpDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom OpDef statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
parseFrom OpDef statis publik (com.google.protobuf.CodedInputStream masukan)
Melempar
Pengecualian IO |
---|
parseFrom OpDef statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
parseFrom OpDef statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom OpDef statis publik (com.google.protobuf.ByteString data)
Melempar
InvalidProtocolBufferException |
---|
parseFrom OpDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom OpDef statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
statis publik pengurai ()
public void writeTo (keluaran com.google.protobuf.CodedOutputStream)
Melempar
Pengecualian IO |
---|