공개 정적 최종 클래스 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 필드, 개체 값) |
그라데이션 정의 | 짓다 () |
그라데이션 정의 | 빌드부분 () |
GradientDef.Builder | 분명한 () |
GradientDef.Builder | ClearField (com.google.protobuf.Descriptors.FieldDescriptor 필드) |
GradientDef.Builder | 클리어함수이름 () The function name. |
GradientDef.Builder | 클리어그라디언트펑크 () The gradient function's name. |
GradientDef.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GradientDef.Builder | 클론 () |
그라데이션 정의 | |
최종 정적 com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
끈 | get함수이름 () The function name. |
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.다른 메시지 보내기) |
최종 GradientDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 알려지지 않은Fields) |
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) |
상속된 메서드
공개 방법
공개 정적 최종 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 mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 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;