सार्वजनिक स्थैतिक अंतिम वर्ग 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.बिल्डर | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor फ़ील्ड, ऑब्जेक्ट मान) |
| GradientDef | निर्माण () |
| GradientDef | बिल्डआंशिक () |
| GradientDef.बिल्डर | स्पष्ट () |
| GradientDef.बिल्डर | क्लियरफ़ील्ड (com.google.protobuf.Descriptors.FieldDescriptor फ़ील्ड) |
| GradientDef.बिल्डर | क्लियरफ़ंक्शननाम () The function name. |
| GradientDef.बिल्डर | क्लियरग्रैडिएंटफनक () The gradient function's name. |
| GradientDef.बिल्डर | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
| GradientDef.बिल्डर | क्लोन () |
| GradientDef | |
| अंतिम स्थिर 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.बिल्डर | मर्जफ्रॉम (com.google.protobuf.CodedInputStream इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री) |
| GradientDef.बिल्डर | मर्जफ्रॉम (com.google.protobuf.Message अन्य) |
| अंतिम GradientDef.बिल्डर | मर्जअज्ञातफ़ील्ड्स (com.google.protobuf.UnknownFieldSet अज्ञातफ़ील्ड्स) |
| GradientDef.बिल्डर | सेटफ़ील्ड (com.google.protobuf.Descriptors.FieldDescriptor फ़ील्ड, ऑब्जेक्ट मान) |
| GradientDef.बिल्डर | सेटफ़ंक्शननाम (स्ट्रिंग मान) The function name. |
| GradientDef.बिल्डर | setFunctionNameBytes (com.google.protobuf.ByteString मान) The function name. |
| GradientDef.बिल्डर | setGradientFunc (स्ट्रिंग मान) The gradient function's name. |
| GradientDef.बिल्डर | setGradientFuncBytes (com.google.protobuf.ByteString मान) The gradient function's name. |
| GradientDef.बिल्डर | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor फ़ील्ड, इंट इंडेक्स, ऑब्जेक्ट वैल्यू) |
| अंतिम GradientDef.बिल्डर | अज्ञात फ़ील्ड सेट करें (com.google.protobuf. अज्ञात फ़ील्ड सेट अज्ञात फ़ील्ड) |
विरासत में मिली विधियाँ
सार्वजनिक तरीके
सार्वजनिक GradientDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor फ़ील्ड, ऑब्जेक्ट मान)
सार्वजनिक GradientDef.Builder ClearGradientFunc ()
The gradient function's name.
string gradient_func = 2; सार्वजनिक स्थैतिक अंतिम 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; सार्वजनिक com.google.protobuf.ByteString getGradientFuncBytes ()
The gradient function's name.
string gradient_func = 2; सार्वजनिक अंतिम बूलियन आरंभीकृत है ()
सार्वजनिक GradientDef.Builder mergeFrom (com.google.protobuf.CodedInputStream इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
फेंकता
| आईओएक्सेप्शन |
|---|
सार्वजनिक अंतिम GradientDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet अज्ञातFields)
सार्वजनिक GradientDef.Builder सेटफ़ील्ड (com.google.protobuf.Descriptors.FieldDescriptor फ़ील्ड, ऑब्जेक्ट मान)
सार्वजनिक GradientDef.Builder setFunctionName (स्ट्रिंग मान)
The function name.
string function_name = 1; सार्वजनिक 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;