genel statik son sınıf 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
Genel Yöntemler
GradientDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
GradientDef | inşa etmek () |
GradientDef | inşaKısmi () |
GradientDef.Builder | temizlemek () |
GradientDef.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı) |
GradientDef.Builder | clearFonksiyonAdı () The function name. |
GradientDef.Builder | clearGradientFunc () The gradient function's name. |
GradientDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GradientDef.Builder | klon () |
GradientDef | |
final statik com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Sicim | getFunctionName () The function name. |
com.google.protobuf.ByteString | getFunctionNameBytes () The function name. |
Sicim | getGradientFunc () The gradient function's name. |
com.google.protobuf.ByteString | getGradientFuncBytes () The gradient function's name. |
son boole değeri | Başlatıldı () |
GradientDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GradientDef.Builder | mergeFrom (com.google.protobuf.Message other) |
son GradientDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields) |
GradientDef.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
GradientDef.Builder | setFunctionName (Dize değeri) The function name. |
GradientDef.Builder | setFunctionNameBytes (com.google.protobuf.ByteString değeri) The function name. |
GradientDef.Builder | setGradientFunc (Dize değeri) The gradient function's name. |
GradientDef.Builder | setGradientFuncBytes (com.google.protobuf.ByteString değeri) The gradient function's name. |
GradientDef.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri) |
son GradientDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmeyenFields) |
Kalıtsal Yöntemler
Genel Yöntemler
public GradientDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public GradientDef.Builder clearGradientFunc ()
The gradient function's name.
string gradient_func = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getFunctionName ()
The function name.
string function_name = 1;
public com.google.protobuf.ByteString getFunctionNameBytes ()
The function name.
string function_name = 1;
genel Dize 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;
genel final boolean isInitialized ()
public GradientDef.Builder mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel final GradientDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public GradientDef.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public GradientDef.Builder setFunctionName (Dize değeri)
The function name.
string function_name = 1;
public GradientDef.Builder setFunctionNameBytes (com.google.protobuf.ByteString değeri)
The function name.
string function_name = 1;
public GradientDef.Builder setGradientFunc (Dize değeri)
The gradient function's name.
string gradient_func = 2;
public GradientDef.Builder setGradientFuncBytes (com.google.protobuf.ByteString değeri)
The gradient function's name.
string gradient_func = 2;