GradientDef.Builder

публичный статический конечный класс 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 tensorflow.GradientDef

Публичные методы

GradientDef.Builder
addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
ГрадиентDef
ГрадиентDef
GradientDef.Builder
GradientDef.Builder
ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor)
GradientDef.Builder
GradientDef.Builder
ClearGradientFunc ()
 The gradient function's name.
GradientDef.Builder
ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
GradientDef.Builder
ГрадиентDef
окончательный статический com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Нить
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.Builder
mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
GradientDef.Builder
mergeFrom (com.google.protobuf.Message другое)
окончательный GradientDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
GradientDef.Builder
setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
GradientDef.Builder
setFunctionName (строковое значение)
 The function name.
GradientDef.Builder
setFunctionNameBytes (значение com.google.protobuf.ByteString)
 The function name.
GradientDef.Builder
setGradientFunc (строковое значение)
 The gradient function's name.
GradientDef.Builder
setGradientFuncBytes (значение com.google.protobuf.ByteString)
 The gradient function's name.
GradientDef.Builder
setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
окончательный GradientDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

Унаследованные методы

Публичные методы

public GradientDef.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)

общедоступная сборка GradientDef ()

общественный GradientDef buildPartial ()

общедоступный GradientDef.Builder очистить ()

общедоступный GradientDef.Builder ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor)

общедоступный GradientDef.BuilderclearFunctionName ( )

 The function name.
 
string function_name = 1;

общедоступный GradientDef.Builder ClearGradientFunc ()

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

общедоступный GradientDef.Builder ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

общедоступный клон GradientDef.Builder ()

public GradientDef getDefaultInstanceForType ()

общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()

общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

публичная строка getFunctionName ()

 The function name.
 
string function_name = 1;

public com.google.protobuf.ByteString getFunctionNameBytes ()

 The function name.
 
string function_name = 1;

публичная строка 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;

публичное финальное логическое значение isInitialized ()

общедоступный GradientDef.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Исключение IO

общедоступный GradientDef.Builder mergeFrom (com.google.protobuf.Message другое)

общедоступный финальный GradientDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

public GradientDef.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)

public GradientDef.Builder setFunctionName (строковое значение)

 The function name.
 
string function_name = 1;

public GradientDef.Builder setFunctionNameBytes (значение com.google.protobuf.ByteString)

 The function name.
 
string function_name = 1;

public 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;

public GradientDef.Builder setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)

публичный окончательный GradientDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)