GradientDef.Builder

パブリック静的最終クラス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.
 
Protobuf 型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
ClearGradientFunc ()
 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.Message other)
最終的なGradientDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド)
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)

継承されたメソッド

パブリックメソッド

public GradientDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)

public GradientDefビルド()

public GradientDef buildPartial ()

public GradientDef.Builder clear ()

public GradientDef.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド)

public GradientDef.Builderクリア関数名()

 The function name.
 
string function_name = 1;

public GradientDef.Builder clearGradientFunc ()

 The gradient function's name.
 
string gradient_func = 2;

public GradientDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public GradientDef.Builderクローン()

public GradientDef getDefaultInstanceForType ()

public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

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;

パブリック最終ブール値isInitialized ()

public GradientDef.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public GradientDef.Builder mergeFrom (com.google.protobuf.Message other)

public Final GradientDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

public GradientDef.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)

public GradientDef.Builder setFunctionName (文字列値)

 The function name.
 
string function_name = 1;

public GradientDef.Builder setFunctionNameBytes (com.google.protobuf.ByteString 値)

 The function name.
 
string function_name = 1;

public GradientDef.Builder setGradientFunc (文字列値)

 The gradient function's name.
 
string gradient_func = 2;

public GradientDef.Builder setGradientFuncBytes (com.google.protobuf.ByteString 値)

 The gradient function's name.
 
string gradient_func = 2;

public GradientDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)

public Final GradientDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)