공개 최종 클래스 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 |
공개 방법
| 부울 | 같음 (객체 객체) |
| 정적 그라데이션 정의 | |
| 그라데이션 정의 | |
| 최종 정적 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. |
| 정수 | |
| 최종 com.google.protobuf.UnknownFieldSet | |
| 정수 | 해시코드 () |
| 최종 부울 | 초기화됨 () |
| 정적 GradientDef.Builder | newBuilder ( GradientDef 프로토타입) |
| 정적 GradientDef.Builder | 새로운 빌더 () |
| GradientDef.Builder | |
| 정적 그라데이션 정의 | parsDelimitedFrom (InputStream 입력) |
| 정적 그라데이션 정의 | parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| 정적 그라데이션 정의 | parsFrom (ByteBuffer 데이터) |
| 정적 그라데이션 정의 | ParseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| 정적 그라데이션 정의 | ParseFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| 정적 그라데이션 정의 | ParseFrom (com.google.protobuf.CodedInputStream 입력) |
| 정적 그라데이션 정의 | parseFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장Registry) |
| 정적 그라데이션 정의 | 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
공개 방법
공개 부울은 (객체 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 (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
| IO예외 |
|---|
공개 정적 GradientDef 구문 분석 (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
| IO예외 |
|---|
공개 정적 GradientDef 구문 분석 (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
| 잘못된프로토콜버퍼예외 |
|---|
공개 정적 GradientDef 구문 분석 (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장 레지스트리)
던지기
| 잘못된프로토콜버퍼예외 |
|---|
공개 정적 GradientDef 구문 분석 (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
| IO예외 |
|---|
공개 정적 GradientDef 구문 분석 (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
| 잘못된프로토콜버퍼예외 |
|---|
공개 정적 파서 ()
공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)
던지기
| IO예외 |
|---|