GradientDef คลาสสุดท้ายสาธารณะ
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 | GradientDef defines the gradient function of a function defined in a function library. | |
ค่าคงที่
| ภายใน | FUNCTION_NAME_FIELD_NUMBER | |
| ภายใน | GRADIENT_FUNC_FIELD_NUMBER |
วิธีการสาธารณะ
| บูลีน | เท่ากับ (วัตถุ obj) |
| การไล่ระดับสี แบบคงที่ | |
| การไล่ระดับสีDef | |
| 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. |
| ภายใน | |
| สุดท้าย com.google.protobuf.UnknownFieldSet | |
| ภายใน | แฮชโค้ด () |
| บูลีนสุดท้าย | |
| GradientDef.Builder แบบคงที่ | newBuilder (ต้นแบบ GradientDef ) |
| GradientDef.Builder แบบคงที่ | ตัวสร้างใหม่ () |
| GradientDef.Builder | |
| การไล่ระดับสี แบบคงที่ | parseDelimitedFrom (อินพุต InputStream) |
| การไล่ระดับสี แบบคงที่ | parseDelimitedFrom (อินพุตสตรีม com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| การไล่ระดับสี แบบคงที่ | parseFrom (ข้อมูล ByteBuffer) |
| การไล่ระดับสี แบบคงที่ | parseFrom (อินพุต com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| การไล่ระดับสี แบบคงที่ | parseFrom (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| การไล่ระดับสี แบบคงที่ | parseFrom (com.google.protobuf.CodedInputStream อินพุต) |
| การไล่ระดับสี แบบคงที่ | parseFrom (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| การไล่ระดับสี แบบคงที่ | parseFrom (ข้อมูล com.google.protobuf.ByteString) |
| การไล่ระดับสี แบบคงที่ | parseFrom (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| การไล่ระดับสี แบบคงที่ | parseFrom (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| คงที่ | |
| GradientDef.Builder | toBuilder () |
| เป็นโมฆะ | writeTo (เอาต์พุต com.google.protobuf.CodedOutputStream) |
วิธีการสืบทอด
ค่าคงที่
ปลายทางคงที่สาธารณะ int FUNCTION_NAME_FIELD_NUMBER
ค่าคงที่: 1
สาธารณะคงสุดท้าย int GRADIENT_FUNC_FIELD_NUMBER
ค่าคงที่: 2
วิธีการสาธารณะ
บูลีนสาธารณะ เท่ากับ (Object obj)
สาธารณะคงที่สุดท้าย com.google.protobuf.Descriptors.Descriptor getDescriptor ()
สตริงสาธารณะ 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; สาธารณะ getParserForType ()
สาธารณะ int getSerializedSize ()
สาธารณะสุดท้าย com.google.protobuf.UnknownFieldSet getUnknownFields ()
สาธารณะ int hashCode ()
บูลีนสุดท้ายสาธารณะ isInitialized ()
GradientDef แบบคงที่สาธารณะ parseDelimitedFrom (อินพุตสตรีม, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
GradientDef แบบคงที่สาธารณะ แยกวิเคราะห์ (ข้อมูล ByteBuffer)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
GradientDef แบบคงที่สาธารณะ parseFrom (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
GradientDef parseFrom แบบ คงที่สาธารณะ (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
GradientDef parseFrom แบบ คงที่สาธารณะ (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
สาธารณะ GradientDef parseFrom แบบคงที่ (ข้อมูล com.google.protobuf.ByteString)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
GradientDef parseFrom แบบ คงที่สาธารณะ (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
GradientDef แบบคงที่สาธารณะ parseFrom (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
สาธารณะคงที่ ตัวแยกวิเคราะห์ ()
โมฆะสาธารณะ writeTo (com.google.protobuf.CodedOutputStream เอาต์พุต)
ขว้าง
| IOข้อยกเว้น |
|---|