OpDef

lớp cuối cùng công khai 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
 
tensorflow.OpDef loại Protobuf.OpDef

Các lớp lồng nhau

lớp học OpDef.ArgDef
 For describing inputs and outputs. 
giao diện OpDef.ArgDefOrBuilder
lớp học OpDef.AttrDef
 Description of the graph-construction-time configuration of this
 Op. 
giao diện OpDef.AttrDefOrBuilder
lớp học OpDef.Builder
 Defines an operation. 

Hằng số

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 TÓM TẮT_FIELD_NUMBER

Phương pháp công cộng

boolean
bằng (Đối tượng obj)
boolean
getAllowsUninitializedInput ()
 By default, all inputs to an Op must be initialized Tensors.
OpDef.AttrDef
getAttr (chỉ số int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
int
getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
Danh sách< OpDef.AttrDef >
getAttrList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
OpDef.AttrDefOrBuilder
getAttrOrBuilder (chỉ mục int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Danh sách<? mở rộng OpDef.AttrDefOrBuilder >
getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
Sợi dây
getControlOutput (chỉ số int)
 Named control outputs for this operation.
com.google.protobuf.ByteString
getControlOutputBytes (chỉ mục int)
 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 tĩnh
OpDef
OpKhông dùng nữa
getDeprecation ()
 Optional deprecation based on GraphDef versions.
OpKhông dùng nữaOrBuilder
getDeprecationOrBuilder ()
 Optional deprecation based on GraphDef versions.
Sợi dây
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.
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng
OpDef.ArgDef
getInputArg (chỉ số int)
 Description of the input(s).
int
getInputArgCount ()
 Description of the input(s).
Danh sách< OpDef.ArgDef >
getInputArgList ()
 Description of the input(s).
OpDef.ArgDefOrBuilder
getInputArgOrBuilder (chỉ mục int)
 Description of the input(s).
Danh sách<? mở rộng OpDef.ArgDefOrBuilder >
getInputArgOrBuilderList ()
 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.
Sợi dây
lấy Tên ()
 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 (chỉ mục int)
 Description of the output(s).
int
getOutputArgCount ()
 Description of the output(s).
Danh sách< OpDef.ArgDef >
getOutputArgList ()
 Description of the output(s).
OpDef.ArgDefOrBuilder
getOutputArgOrBuilder (chỉ mục int)
 Description of the output(s).
Danh sách<? mở rộng OpDef.ArgDefOrBuilder >
getOutputArgOrBuilderList ()
 Description of the output(s).
int
Sợi dây
lấy Tóm tắt ()
 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 cuối cùng
boolean
hasDeprecation ()
 Optional deprecation based on GraphDef versions.
int
boolean cuối cùng
OpDef.Builder tĩnh
newBuilder (nguyên mẫu OpDef )
OpDef.Builder tĩnh
OpDef.Builder
OpDef tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào)
OpDef tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào, com.google.protobuf.ExtensionRegistryLite tiện ích mở rộngRegistry)
OpDef tĩnh
ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
OpDef tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream)
OpDef tĩnh
ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
OpDef tĩnh
ParseFrom (dữ liệu ByteBuffer)
OpDef tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
OpDef tĩnh
ParseFrom (dữ liệu com.google.protobuf.ByteString)
OpDef tĩnh
ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
OpDef tĩnh
ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
tĩnh
OpDef.Builder
trống rỗng
writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Phương pháp kế thừa

Hằng số

int tĩnh công khai ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER

Giá trị không đổi: 19

int tĩnh công khai ATTR_FIELD_NUMBER

Giá trị không đổi: 4

int cuối cùng tĩnh công khai Control_OUTPUT_FIELD_NUMBER

Giá trị không đổi: 20

int tĩnh công khai DEPRECATION_FIELD_NUMBER

Giá trị không đổi: 8

int cuối cùng tĩnh công khai DESCRIPTION_FIELD_NUMBER

Giá trị không đổi: 6

int tĩnh công khai INPUT_ARG_FIELD_NUMBER

Giá trị không đổi: 2

int cuối cùng tĩnh công khai IS_AGGREGATE_FIELD_NUMBER

Giá trị không đổi: 16

int cuối cùng tĩnh công khai IS_COMMUTATIVE_FIELD_NUMBER

Giá trị không đổi: 18

int cuối cùng tĩnh công khai IS_STATEFUL_FIELD_NUMBER

Giá trị không đổi: 17

int tĩnh công khai NAME_FIELD_NUMBER

Giá trị không đổi: 1

int cuối cùng tĩnh công khai OUTPUT_ARG_FIELD_NUMBER

Giá trị không đổi: 3

int cuối cùng tĩnh công khai SUMMARY_FIELD_NUMBER

Giá trị không đổi: 5

Phương pháp công cộng

boolean công khai bằng (Object obj)

boolean công khai 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;

công khai OpDef.AttrDef getAttr (chỉ mục int)

repeated .tensorflow.OpDef.AttrDef attr = 4;

int công khai getAttrCount ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

Danh sách công khai< OpDef.AttrDef > getAttrList ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

công khai OpDef.AttrDefOrBuilder getAttrOrBuilder (chỉ mục int)

repeated .tensorflow.OpDef.AttrDef attr = 4;

Danh sách công khai<? mở rộng OpDef.AttrDefOrBuilder > getAttrOrBuilderList ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

Chuỗi công khai getControlOutput (chỉ mục 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;

công khai com.google.protobuf.ByteString getControlOutputBytes (chỉ mục 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 công khai 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 công khai 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;

tĩnh công khai OpDef getDefaultInstance ()

OpDef công khai getDefaultInstanceForType ()

OpDeprecation công khai getDeprecation ()

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

công khai OpDeprecationOrBuilder getDeprecationOrBuilder ()

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

Chuỗi công khai getDescription ()

mô tả chuỗi

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

com.google.protobuf.ByteString getDescriptionBytes công khai ()

mô tả chuỗi

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

công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()

công khai OpDef.ArgDef getInputArg (chỉ mục int)

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

int công khai getInputArgCount ()

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

Danh sách công khai< OpDef.ArgDef > getInputArgList ()

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

công khai OpDef.ArgDefOrBuilder getInputArgOrBuilder (chỉ mục int)

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

Danh sách công khai<? mở rộng OpDef.ArgDefOrBuilder > getInputArgOrBuilderList ()

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

boolean công khai 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;

boolean công khai getIsCommutative ()

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

boolean công khai 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;

Chuỗi công khai 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 công khai ()

 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;

công khai OpDef.ArgDef getOutputArg (chỉ mục int)

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

int công khai getOutputArgCount ()

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

Danh sách công khai< OpDef.ArgDef > getOutputArgList ()

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

công khai OpDef.ArgDefOrBuilder getOutputArgOrBuilder (chỉ mục int)

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

Danh sách công khai<? mở rộng OpDef.ArgDefOrBuilder > getOutputArgOrBuilderList ()

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

công cộng getParserForType ()

int công khai getSerializedSize ()

Chuỗi công khai getSummary ()

tóm tắt chuỗi

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

com.google.protobuf.ByteString getSummaryBytes công khai ()

tóm tắt chuỗi

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

trận chung kết công khai com.google.protobuf.UnknownFieldSet getUnknownFields ()

boolean công khai hasDeprecation ()

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

mã băm int công khai ()

boolean cuối cùng công khai được khởi tạo ()

public static OpDef.Builder newBuilder ( nguyên mẫu OpDef )

tĩnh công khai OpDef.Builder newBuilder ()

công khai OpDef.Builder newBuilderForType ()

công khai phân tích cú pháp OpDef tĩnhDelimitedFrom (Đầu vào luồng đầu vào)

Ném
IOException

công khai phân tích cú pháp OpDef tĩnhDelimitedFrom (đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

phân tích cú pháp OpDef tĩnh công khaiFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

Phân tích cú pháp OpDef tĩnh công khaiFrom (đầu vào com.google.protobuf.CodedInputStream)

Ném
IOException

Phân tích cú pháp OpDef tĩnh công khaiFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

Phân tích cú pháp OpDef tĩnh công khaiFrom (dữ liệu ByteBuffer)

Ném
Giao thức đệm ngoại lệ không hợp lệ

phân tích cú pháp OpDef tĩnh công khaiFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

Phân tích cú pháp OpDef tĩnh công khaiFrom (dữ liệu com.google.protobuf.ByteString)

Ném
Giao thức đệm ngoại lệ không hợp lệ

phân tích cú pháp OpDef tĩnh công khaiFrom (đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

phân tích cú pháp OpDef tĩnh công khaiFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

công cộng tĩnh trình phân tích cú pháp ()

OpDef.Builder công khai toBuilder ()

public void writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Ném
IOException