classe finale statique publique 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 de type Protobuf.GradientDef Méthodes publiques
| DégradéDef.Builder | addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
| DégradéDéf | construire () |
| DégradéDéf | buildPartial () |
| DégradéDef.Builder | clair () |
| DégradéDef.Builder | clearField (champ com.google.protobuf.Descriptors.FieldDescriptor) |
| DégradéDef.Builder | effacerNomFonction () The function name. |
| DégradéDef.Builder | clearGradientFunc () The gradient function's name. |
| DégradéDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
| DégradéDef.Builder | cloner () |
| DégradéDéf | |
| final statique com.google.protobuf.Descriptors.Descriptor | |
| com.google.protobuf.Descriptors.Descriptor | |
| Chaîne | getFunctionName () The function name. |
| com.google.protobuf.ByteString | getFunctionNameBytes () The function name. |
| Chaîne | getGradientFunc () The gradient function's name. |
| com.google.protobuf.ByteString | getGradientFuncBytes () The gradient function's name. |
| booléen final | |
| DégradéDef.Builder | mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| DégradéDef.Builder | mergeFrom (com.google.protobuf.Message autre) |
| Dégradé final.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
| DégradéDef.Builder | setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
| DégradéDef.Builder | setFunctionName (valeur de chaîne) The function name. |
| DégradéDef.Builder | setFunctionNameBytes (valeur com.google.protobuf.ByteString) The function name. |
| DégradéDef.Builder | setGradientFunc (valeur de chaîne) The gradient function's name. |
| DégradéDef.Builder | setGradientFuncBytes (valeur com.google.protobuf.ByteString) The gradient function's name. |
| DégradéDef.Builder | setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet) |
| Dégradé final.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
Méthodes héritées
Méthodes publiques
public GradientDef.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public GradientDef.Builder clearGradientFunc ()
The gradient function's name.
string gradient_func = 2; public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
chaîne publique getFunctionName ()
The function name.
string function_name = 1; public com.google.protobuf.ByteString getFunctionNameBytes ()
The function name.
string function_name = 1; chaîne publique 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; public final booléen isInitialized ()
public GradientDef.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| IOException |
|---|
public final GradientDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public GradientDef.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public GradientDef.Builder setFunctionName (valeur de chaîne)
The function name.
string function_name = 1; public GradientDef.Builder setFunctionNameBytes (valeur com.google.protobuf.ByteString)
The function name.
string function_name = 1; public GradientDef.Builder setGradientFunc (valeur de chaîne)
The gradient function's name.
string gradient_func = 2; public GradientDef.Builder setGradientFuncBytes (valeur com.google.protobuf.ByteString)
The gradient function's name.
string gradient_func = 2;