کلاس نهایی استاتیک عمومی 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 روش های عمومی
| GradientDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
| GradientDef | ساختن () |
| GradientDef | ساخت جزئی () |
| GradientDef.Builder | روشن () |
| GradientDef.Builder | clearField (فیلد 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 | کلون () |
| GradientDef | |
| نهایی static com.google.protobuf.Descriptors.Descriptor | |
| com.google.protobuf.Descriptors.Descriptor | |
| رشته | getFunctionName () The function name. |
| com.google.protobuf.ByteString | getFunctionNameBytes () The function name. |
| رشته | getGradientFunc () The gradient function's name. |
| com.google.protobuf.ByteString | getGradientFuncBytes () The gradient function's name. |
| بولی نهایی | |
| GradientDef.Builder | mergeFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| GradientDef.Builder | mergeFrom (com.google.protobuf.Message other) |
| GradientDef.Builder نهایی | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
| GradientDef.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
| GradientDef.Builder | setFunctionName (مقدار رشته) The function name. |
| GradientDef.Builder | setFunctionNameBytes (مقدار com.google.protobuf.ByteString) The function name. |
| GradientDef.Builder | setGradientFunc (مقدار رشته) The gradient function's name. |
| GradientDef.Builder | setGradientFuncBytes (مقدار com.google.protobuf.ByteString) The gradient function's name. |
| GradientDef.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor، نمایه int، مقدار Object) |
| GradientDef.Builder نهایی | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
روش های ارثی
روش های عمومی
عمومی GradientDef.Builder addRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، مقدار Object)
عمومی GradientDef.Builder clearGradientFunc ()
The gradient function's name.
string gradient_func = 2; public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
عمومی com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
رشته عمومی getFunctionName ()
The function name.
string function_name = 1; عمومی com.google.protobuf.ByteString getFunctionNameBytes ()
The function name.
string function_name = 1; رشته عمومی getGradientFunc ()
The gradient function's name.
string gradient_func = 2; public com.google.protobuf.ByteString getGradientFuncBytes ()
The gradient function's name.
string gradient_func = 2; بولین نهایی عمومی isInitialized ()
عمومی GradientDef.Builder mergeFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
| IOException |
|---|
public GradientDef.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
عمومی GradientDef.Builder setFunctionNameBytes (مقدار com.google.protobuf.ByteString)
The function name.
string function_name = 1; عمومی GradientDef.Builder setGradientFunc (مقدار رشته)
The gradient function's name.
string gradient_func = 2; عمومی GradientDef.Builder setGradientFuncBytes (مقدار com.google.protobuf.ByteString)
The gradient function's name.
string gradient_func = 2;