GradientDef

lớp cuối cùng công khai gradientDef

 GradientDef defines the gradient function of a function defined in
 a function library.
 A gradient function g (specified by gradient_func) for a function f
 (specified by function_name) must follow the following:
 The function 'f' must be a numerical function which takes N inputs
 and produces M outputs. Its gradient function 'g', which is a
 function taking N + M inputs and produces N outputs.
 I.e. if we have
    (y1, y2, ..., y_M) = f(x1, x2, ..., x_N),
 then, g is
    (dL/dx1, dL/dx2, ..., dL/dx_N) = g(x1, x2, ..., x_N,
                                      dL/dy1, dL/dy2, ..., dL/dy_M),
 where L is a scalar-value function of (x1, x2, ..., xN) (e.g., the
 loss function). dL/dx_i is the partial derivative of L with respect
 to x_i.
 
Tenorflow loại tensorflow.GradientDef

Các lớp lồng nhau

lớp học gradientDef.Builder
 GradientDef defines the gradient function of a function defined in
 a function library. 

Hằng số

int CHỨC NĂNG_NAME_FIELD_NUMBER
int GRADIENT_FUNC_FIELD_NUMBER

Phương pháp công khai

boolean
bằng (Đối tượng obj)
gradientDef tĩnh
Độ dốc
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng
Sợi dây
getFunctionName ()
 The function name.
com.google.protobuf.ByteString
getFunctionNameBytes ()
 The function name.
Sợi dây
getGradientFunc ()
 The gradient function's name.
com.google.protobuf.ByteString
getGradientFuncBytes ()
 The gradient function's name.
int
com.google.protobuf.UnknownFieldSet cuối cùng
int
boolean cuối cùng
gradientDef.Builder tĩnh
newBuilder ( nguyên mẫu gradientDef )
gradientDef.Builder tĩnh
gradientDef.Builder
gradientDef tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào)
gradientDef 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)
gradientDef tĩnh
ParseFrom (dữ liệu ByteBuffer)
gradientDef tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
gradientDef tĩnh
ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
gradientDef tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream)
gradientDef tĩnh
ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
gradientDef tĩnh
ParseFrom (dữ liệu com.google.protobuf.ByteString)
gradientDef tĩnh
ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
gradientDef tĩnh
ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
tĩnh
gradientDef.Builder
trống rỗng
writeTo (đầu ra com.google.protobuf.CodedOutputStream)

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

Hằng số

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

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

int tĩnh công khai GRADIENT_FUNC_FIELD_NUMBER

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

Phương pháp công khai

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

công khai gradientDef getDefaultInstance ()

gradientDef công khai getDefaultInstanceForType ()

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

Chuỗi công khai getFunctionName ()

 The function name.
 
string function_name = 1;

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

 The function name.
 
string function_name = 1;

Chuỗi công khai getGradientFunc ()

 The gradient function's name.
 
string gradient_func = 2;

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

 The gradient function's name.
 
string gradient_func = 2;

công cộng getParserForType ()

int công khai getSerializedSize ()

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

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

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

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

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

gradientDef.Builder công khai newBuilderForType ()

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

Ném
IOException

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

Ném
IOException

phân tích cú pháp gradientDef 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 gradientDef 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 gradientDef 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 gradientDef tĩnh công khaiFrom (đầu vào com.google.protobuf.CodedInputStream)

Ném
IOException

phân tích cú pháp gradientDef 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 gradientDef 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 gradientDef tĩnh công khaiFrom (đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

phân tích cú pháp gradientDef 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 ()

gradientDef.Builder công khai toBuilder ()

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

Ném
IOException