GradientDef.Builder

classe finale statica pubblica 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.
 
Tipo di protocollo tensorflow.GradientDef

Metodi pubblici

GradientDef.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
GradienteDef
GradienteDef
GradientDef.Builder
chiaro ()
GradientDef.Builder
clearField (campo 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
clone ()
GradienteDef
com.google.protobuf.Descriptors.Descriptor statico finale
com.google.protobuf.Descriptors.Descriptor
Corda
getFunzioneNome ()
 The function name.
com.google.protobuf.ByteString
getFunctionNameBytes ()
 The function name.
Corda
getGradientFunc ()
 The gradient function's name.
com.google.protobuf.ByteString
getGradientFuncBytes ()
 The gradient function's name.
booleano finale
GradientDef.Builder
mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
GradientDef.Builder
mergeFrom (com.google.protobuf.Message altro)
finale GradientDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
GradientDef.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
GradientDef.Builder
setFunctionName (valore stringa)
 The function name.
GradientDef.Builder
setFunctionNameBytes (valore com.google.protobuf.ByteString)
 The function name.
GradientDef.Builder
setGradientFunc (valore stringa)
 The gradient function's name.
GradientDef.Builder
setGradientFuncBytes (valore com.google.protobuf.ByteString)
 The gradient function's name.
GradientDef.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
finale GradientDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

Metodi ereditati

Metodi pubblici

public GradientDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

build GradientDef pubblica ()

public GradientDef buildPartial ()

pubblico GradientDef.Builder chiaro ()

public GradientDef.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

public GradientDef.Builder clearFunctionName ()

 The function name.
 
string function_name = 1;

public GradientDef.Builder clearGradientFunc ()

 The gradient function's name.
 
string gradient_func = 2;

public GradientDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

clone pubblico di GradientDef.Builder ()

pubblico GradientDef getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

stringa pubblica getFunctionName ()

 The function name.
 
string function_name = 1;

pubblico com.google.protobuf.ByteString getFunctionNameBytes ()

 The function name.
 
string function_name = 1;

stringa pubblica getGradientFunc ()

 The gradient function's name.
 
string gradient_func = 2;

pubblico com.google.protobuf.ByteString getGradientFuncBytes ()

 The gradient function's name.
 
string gradient_func = 2;

public final booleano isInitialized ()

public GradientDef.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

public GradientDef.Builder mergeFrom (com.google.protobuf.Message altro)

pubblico finale GradientDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

public GradientDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

public GradientDef.Builder setFunctionName (valore stringa)

 The function name.
 
string function_name = 1;

public GradientDef.Builder setFunctionNameBytes (valore com.google.protobuf.ByteString)

 The function name.
 
string function_name = 1;

public GradientDef.Builder setGradientFunc (valore stringa)

 The gradient function's name.
 
string gradient_func = 2;

pubblico GradientDef.Builder setGradientFuncBytes (valore com.google.protobuf.ByteString)

 The gradient function's name.
 
string gradient_func = 2;

public GradientDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)

pubblico finale GradientDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)