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، قيمة الكائن)
GradientDef
GradientDef
GradientDef.Builder
GradientDef.Builder
ClearField (حقل com.google.protobuf.Descriptors.FieldDescriptor)
GradientDef.Builder
اسم الوظيفة الواضح ()
 The function name.
GradientDef.Builder
ClearGradientFunc ()
 The gradient function's name.
GradientDef.Builder
ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
GradientDef.Builder
GradientDef
النهائي الثابت com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
خيط
com.google.protobuf.ByteString
getFunctionNameBytes ()
 The function name.
خيط
الحصول على GradientFunc ()
 The gradient function's name.
com.google.protobuf.ByteString
الحصول على GradientFuncBytes ()
 The gradient function's name.
منطقية نهائية
GradientDef.Builder
دمج من (com.google.protobuf.CodedInputStream input، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
GradientDef.Builder
دمج من (com.google.protobuf.Message أخرى)
GradientDef.Builder النهائي
دمجUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
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.UnknownFieldSet UnknownFields)

الطرق الموروثة

الأساليب العامة

GradientDef.Builder addRepeatedField العام (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن)

بناء GradientDef العام ()

بناء GradientDef العام Partial ()

GradientDef.Builder العام واضح ()

GradientDef.Builder ClearField العام (حقل com.google.protobuf.Descriptors.FieldDescriptor)

GradientDef.Builder العام ClearFunctionName ()

 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 العام ()

GradientDef العام getDefaultInstanceForType ()

النهائي العام الثابت com.google.protobuf.Descriptors.Descriptor getDescriptor ()

com.google.protobuf.Descriptors.Descriptor getDescriptorForType () العام

سلسلة getFunctionName () العامة

 The function name.
 
string function_name = 1;

com.google.protobuf.ByteString العامة getFunctionNameBytes ()

 The function name.
 
string function_name = 1;

سلسلة عامة getGradientFunc ()

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

com.google.protobuf.ByteString العامة getGradientFuncBytes ()

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

تمت تهيئة القيمة المنطقية النهائية العامة ()

GradientDef.Builder العام mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

رميات
IOEException

GradientDef.Builder العام mergeFrom (com.google.protobuf.Message أخرى)

GradientDef.Builder النهائي العام mergeUnknownFields (com.google.protobuf.UnknownFieldSetUnknownFields)

GradientDef.Builder setField العام (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن)

GradientDef.Builder العام setFunctionName (قيمة السلسلة)

 The function name.
 
string function_name = 1;

GradientDef.Builder العامة setFunctionNameBytes (قيمة com.google.protobuf.ByteString)

 The function name.
 
string function_name = 1;

مجموعة GradientDef.Builder العامة GradientFunc (قيمة السلسلة)

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

مجموعة GradientDef.Builder العامة GradientFuncBytes (قيمة com.google.protobuf.ByteString)

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

GradientDef.Builder العام setRepeatedField (حقل com.google.protobuf.Descriptors.FieldDescriptor، مؤشر int، قيمة الكائن)

GradientDef.Builder النهائي العام setUnknownFields (com.google.protobuf.UnknownFieldSetUnknownFields)