パブリック最終クラス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 |
パブリックメソッド
| ブール値 | 等しい(オブジェクトオブジェクト) |
| 静的GradientDef | |
| 勾配定義 | |
| 最終的な静的 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 | newBuilder () |
| GradientDef.Builder | |
| 静的GradientDef | parseDelimitedFrom (InputStream 入力) |
| 静的GradientDef | parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| 静的GradientDef | parseFrom (ByteBuffer データ) |
| 静的GradientDef | parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| 静的GradientDef | parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| 静的GradientDef | parseFrom (com.google.protobuf.CodedInputStream 入力) |
| 静的GradientDef | parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| 静的GradientDef | parseFrom (com.google.protobuf.ByteString データ) |
| 静的GradientDef | parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| 静的GradientDef | parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| 静的 | パーサー() |
| GradientDef.Builder | toビルダー() |
| 空所 | writeTo (com.google.protobuf.CodedOutputStream 出力) |
継承されたメソッド
定数
パブリック静的最終整数FUNCTION_NAME_FIELD_NUMBER
定数値: 1
パブリック静的最終整数GRADIENT_FUNC_FIELD_NUMBER
定数値: 2
パブリックメソッド
public booleanに等しい(オブジェクト obj)
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String getFunctionName ()
The function name.
string function_name = 1; public com.google.protobuf.ByteString getFunctionNameBytes ()
The function name.
string function_name = 1; パブリック String getGradientFunc ()
The gradient function's name.
string gradient_func = 2; public com.google.protobuf.ByteString getGradientFuncBytes ()
The gradient function's name.
string gradient_func = 2; 公共 getParserForType ()
public int getSerializedSize ()
public Final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
パブリック最終ブール値isInitialized ()
public static GradientDef parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| IO例外 |
|---|
public static GradientDef parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| IO例外 |
|---|
public static GradientDef parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| 無効なプロトコルバッファ例外 |
|---|
public static GradientDef parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| 無効なプロトコルバッファ例外 |
|---|
public static GradientDef parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| IO例外 |
|---|
public static GradientDef parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| 無効なプロトコルバッファ例外 |
|---|
パブリック静的 パーサー()
public void writeTo (com.google.protobuf.CodedOutputStream 出力)
投げる
| IO例外 |
|---|