lớp cuối cùng tĩnh công khai gradientDef.Builder
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.
tensorflow.GradientDef Phương pháp công cộng
| gradientDef.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
| Độ dốc | xây dựng () |
| Độ dốc | |
| gradientDef.Builder | thông thoáng () |
| gradientDef.Builder | ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor) |
| gradientDef.Builder | clearFunctionName () The function name. |
| gradientDef.Builder | clearGradientFunc () The gradient function's name. |
| gradientDef.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
| gradientDef.Builder | dòng vô tính () |
| Độ dốc | |
| com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
| com.google.protobuf.Descriptors.Descriptor | |
| 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. |
| boolean cuối cùng | |
| gradientDef.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| gradientDef.Builder | mergeFrom (com.google.protobuf.Message other) |
| gradientDef.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
| gradientDef.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
| gradientDef.Builder | setFunctionName (Giá trị chuỗi) The function name. |
| gradientDef.Builder | setFunctionNameBytes (giá trị com.google.protobuf.ByteString) The function name. |
| gradientDef.Builder | setGradientFunc (Giá trị chuỗi) The gradient function's name. |
| gradientDef.Builder | setGradientFuncBytes (giá trị com.google.protobuf.ByteString) The gradient function's name. |
| gradientDef.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
| gradientDef.Builder cuối cùng | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
Phương pháp kế thừa
Phương pháp công cộng
public gradientDef.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, giá trị đối tượng)
công khai gradientDef.Builder clearGradientFunc ()
The gradient function's name.
string gradient_func = 2; công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
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; boolean cuối cùng công khai được khởi tạo ()
công khai gradientDef.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
| IOException |
|---|
trận chung kết công khai gradientDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
gradientDef.Builder setField công khai (trường com.google.protobuf.Descriptors.FieldDescriptor, giá trị đối tượng)
public gradientDef.Builder setFunctionName (Giá trị chuỗi)
The function name.
string function_name = 1; công khai gradientDef.Builder setFunctionNameBytes (giá trị com.google.protobuf.ByteString)
The function name.
string function_name = 1; public gradientDef.Builder setGradientFunc (Giá trị chuỗi)
The gradient function's name.
string gradient_func = 2; gradientDef.Builder công khai setGradientFuncBytes (giá trị com.google.protobuf.ByteString)
The gradient function's name.
string gradient_func = 2;