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.
tensorflow.GradientDef วิธีการสาธารณะ
| GradientDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor ช่อง ค่าอ็อบเจ็กต์) |
| การไล่ระดับสีDef | สร้าง () |
| การไล่ระดับสีDef | สร้างบางส่วน () |
| GradientDef.Builder | ชัดเจน () |
| GradientDef.Builder | clearField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor) |
| GradientDef.Builder | ล้างชื่อฟังก์ชัน () The function name. |
| GradientDef.Builder | ชัดเจนGradientFunc () 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 | |
| สตริง | getFunctionName () The function name. |
| 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 | mergeFrom (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| GradientDef.Builder | mergeFrom (com.google.protobuf.ข้อความ อื่น ๆ ) |
| 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) |
วิธีการสืบทอด
วิธีการสาธารณะ
GradientDef.Builder สาธารณะ addRepeatedField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์)
GradientDef.Builder สาธารณะ clearGradientFunc ()
The gradient function's name.
string gradient_func = 2; สาธารณะคงที่สุดท้าย 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; บูลีนสุดท้ายสาธารณะ isInitialized ()
GradientDef.Builder สาธารณะ ผสานจาก (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
GradientDef.Builder สาธารณะขั้นสุดท้าย ผสาน UnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
GradientDef.Builder setField สาธารณะ (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์)
GradientDef.Builder สาธารณะ setFunctionNameBytes (ค่า com.google.protobuf.ByteString)
The function name.
string function_name = 1; 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;