GradientDef.Builder

kelas akhir statis publik 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 tipe tensorflow.GradientDef

Metode Publik

GradientDef.Builder
addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
GradienDef
GradienDef
GradientDef.Builder
jernih ()
GradientDef.Builder
clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor)
GradientDef.Builder
jelasFungsiNama ()
 The function name.
GradientDef.Builder
jelasGradientFunc ()
 The gradient function's name.
GradientDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
GradientDef.Builder
klon ()
GradienDef
com.google.protobuf.Descriptors.Descriptor statis terakhir
com.google.protobuf.Descriptors.Descriptor
Rangkaian
dapatkan Nama Fungsi ()
 The function name.
com.google.protobuf.ByteString
dapatkanFunctionNameBytes ()
 The function name.
Rangkaian
dapatkanGradientFunc ()
 The gradient function's name.
com.google.protobuf.ByteString
dapatkanGradientFuncBytes ()
 The gradient function's name.
boolean terakhir
GradientDef.Builder
mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GradientDef.Builder
mergeFrom (com.google.protobuf.Pesan lainnya)
GradientDef.Builder terakhir
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
GradientDef.Builder
setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
GradientDef.Builder
setFunctionName (Nilai string)
 The function name.
GradientDef.Builder
setFunctionNameBytes (nilai com.google.protobuf.ByteString)
 The function name.
GradientDef.Builder
setGradientFunc (Nilai string)
 The gradient function's name.
GradientDef.Builder
setGradientFuncBytes (nilai com.google.protobuf.ByteString)
 The gradient function's name.
GradientDef.Builder
setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
GradientDef.Builder terakhir
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Metode Warisan

Metode Publik

public GradientDef.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)

build GradientDef publik ()

publik GradientDef buildPartial ()

GradientDef.Builder publik jelas ()

GradientDef.Builder clearField publik (bidang com.google.protobuf.Descriptors.FieldDescriptor)

GradientDef.Builder publik clearFunctionName ()

 The function name.
 
string function_name = 1;

GradientDef.Builder publik clearGradientFunc ()

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

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

klon GradientDef.Builder publik ()

GradientDef publik getDefaultInstanceForType ()

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

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

String publik getFunctionName ()

 The function name.
 
string function_name = 1;

publik com.google.protobuf.ByteString getFunctionNameBytes ()

 The function name.
 
string function_name = 1;

String publik getGradientFunc ()

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

publik com.google.protobuf.ByteString getGradientFuncBytes ()

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

boolean akhir publik diinisialisasi ()

GradientDef.Builder mergeFrom publik (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
Pengecualian IO

GradientDef.Builder mergeFrom publik (com.google.protobuf.Message lainnya)

GradientDef.Builder mergeUnknownFields akhir publik (com.google.protobuf.UnknownFieldSet unknownFields)

public GradientDef.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)

GradientDef.Builder setFunctionName publik (nilai string)

 The function name.
 
string function_name = 1;

GradientDef.Builder setFunctionNameBytes publik (nilai com.google.protobuf.ByteString)

 The function name.
 
string function_name = 1;

publik GradientDef.Builder setGradientFunc (Nilai string)

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

GradientDef.Builder setGradientFuncBytes publik (nilai com.google.protobuf.ByteString)

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

GradientDef.Builder setRepeatedField publik (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)

GradientDef.Builder setUnknownFields akhir publik (com.google.protobuf.UnknownFieldSet unknownFields)