GradientDef.Builder

clase final estática pública 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.
 
Protobuf tipo tensorflow.GradientDef

Métodos públicos

Constructor DefDegradado
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
gradientedef
gradientedef
Constructor DefDegradado
claro ()
Constructor DefDegradado
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
Constructor DefDegradado
borrar nombre de función ()
 The function name.
Constructor DefDegradado
clearGradientFunc ()
 The gradient function's name.
Constructor DefDegradado
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de)
Constructor DefDegradado
clonar ()
gradientedef
com.google.protobuf.Descriptors.Descriptor estático final
com.google.protobuf.Descriptors.Descriptor
Cadena
obtenerNombreFunción ()
 The function name.
com.google.protobuf.ByteString
getFunciónNombreBytes ()
 The function name.
Cadena
getGradientFunc ()
 The gradient function's name.
com.google.protobuf.ByteString
getGradientFuncBytes ()
 The gradient function's name.
booleano final
Constructor DefDegradado
mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
Constructor DefDegradado
mergeFrom (com.google.protobuf.Message otro)
GradientDef.Builder final
mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
Constructor DefDegradado
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
Constructor DefDegradado
setFunctionName (valor de cadena)
 The function name.
Constructor DefDegradado
setFunctionNameBytes (valor com.google.protobuf.ByteString)
 The function name.
Constructor DefDegradado
setGradientFunc (valor de cadena)
 The gradient function's name.
Constructor DefDegradado
setGradientFuncBytes (valor com.google.protobuf.ByteString)
 The gradient function's name.
Constructor DefDegradado
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
GradientDef.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)

Métodos heredados

Métodos públicos

público GradientDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)

compilación pública de GradientDef ()

public GradientDef buildPartial ()

público GradientDef.Builder claro ()

público GradientDef.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

público GradientDef.Builder clearFunctionName ()

 The function name.
 
string function_name = 1;

público GradientDef.Builder clearGradientFunc ()

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

público GradientDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

clon público de GradientDef.Builder ()

público GradientDef getDefaultInstanceForType ()

público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

cadena pública getFunctionName ()

 The function name.
 
string function_name = 1;

público com.google.protobuf.ByteString getFunctionNameBytes ()

 The function name.
 
string function_name = 1;

cadena pública getGradientFunc ()

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

público com.google.protobuf.ByteString getGradientFuncBytes ()

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

público final booleano isInitialized ()

gradientDef.Builder público mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)

Lanza
IOExcepción

público GradientDef.Builder mergeFrom (com.google.protobuf.Message otro)

Public Final GradientDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)

público GradientDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)

público GradientDef.Builder setFunctionName (valor de cadena)

 The function name.
 
string function_name = 1;

público GradientDef.Builder setFunctionNameBytes (valor com.google.protobuf.ByteString)

 The function name.
 
string function_name = 1;

público GradientDef.Builder setGradientFunc (valor de cadena)

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

público GradientDef.Builder setGradientFuncBytes (valor com.google.protobuf.ByteString)

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

público GradientDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)

público final GradientDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)