clase final pública GradientDef
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 de tipo
tensorflow.GradientDef
Clases anidadas
clase | GradientDef.Builder | GradientDef defines the gradient function of a function defined in a function library. |
Constantes
En t | FUNCTION_NAME_FIELD_NUMBER | |
En t | GRADIENT_FUNC_FIELD_NUMBER |
Métodos públicos
booleano | es igual a (Objeto obj) |
GradientDef estático | |
GradientDef | |
com.google.protobuf.Descriptors.Descriptor estático final | |
Cuerda | getFunctionName () The function name. |
com.google.protobuf.ByteString | getFunctionNameBytes () The function name. |
Cuerda | getGradientFunc () The gradient function's name. |
com.google.protobuf.ByteString | getGradientFuncBytes () The gradient function's name. |
En t | |
final com.google.protobuf.UnknownFieldSet | |
En t | hashCode () |
booleano final | |
estático GradientDef.Builder | newBuilder (prototipo GradientDef ) |
estático GradientDef.Builder | newBuilder () |
GradientDef.Builder | |
GradientDef estático | parseDelimitedFrom (entrada InputStream) |
GradientDef estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GradientDef estático | parseFrom (datos ByteBuffer) |
GradientDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GradientDef estático | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GradientDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
GradientDef estático | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GradientDef estático | parseFrom (datos com.google.protobuf.ByteString) |
GradientDef estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GradientDef estático | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analizador () |
GradientDef.Builder | toBuilder () |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
public static final int FUNCTION_NAME_FIELD_NUMBER
Valor constante: 1
público estático final int GRADIENT_FUNC_FIELD_NUMBER
Valor constante: 2
Métodos públicos
public boolean es igual a (Object obj)
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String getFunctionName ()
The function name.
string function_name = 1;
nombre_función string function_name = 1;
public com.google.protobuf.ByteString getFunctionNameBytes ()
The function name.
string function_name = 1;
nombre_función string function_name = 1;
public String 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;
público getParserForType ()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static GradientDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static GradientDef parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static GradientDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
public static GradientDef parseFrom (entrada com.google.protobuf.CodedInputStream)
Lanza
IOException |
---|
public static GradientDef parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
public static GradientDef parseFrom (datos de com.google.protobuf.ByteString)
Lanza
InvalidProtocolBufferException |
---|
public static GradientDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static GradientDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOException |
---|