GradientDef

GradientDef kelas akhir publik

 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.
 
Tipe protobuf tensorflow.GradientDef

Kelas Bersarang

kelas GradientDef.Builder
 GradientDef defines the gradient function of a function defined in
 a function library. 

Konstanta

ke dalam FUNCTION_NAME_FIELD_NUMBER
ke dalam GRADIENT_FUNC_FIELD_NUMBER

Metode Publik

boolean
sama dengan (Objek objek)
GradientDef statis
GradienDef
com.google.protobuf.Descriptors.Descriptor statis terakhir
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.
ke dalam
final com.google.protobuf.UnknownFieldSet
ke dalam
boolean terakhir
GradientDef.Builder statis
newBuilder (prototipe GradientDef )
GradientDef.Builder statis
GradientDef.Builder
GradientDef statis
parseDelimitedFrom (masukan Aliran Masukan)
GradientDef statis
parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GradientDef statis
parseFrom (data ByteBuffer)
GradientDef statis
parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GradientDef statis
parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GradientDef statis
parseFrom (com.google.protobuf.CodedInputStream masukan)
GradientDef statis
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GradientDef statis
parseFrom (com.google.protobuf.ByteString data)
GradientDef statis
parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GradientDef statis
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statis
GradientDef.Builder
ruang kosong
writeTo (com.google.protobuf.CodedOutputStream keluaran)

Metode Warisan

Konstanta

int final statis publik FUNCTION_NAME_FIELD_NUMBER

Nilai Konstan: 1

int akhir statis publik GRADIENT_FUNC_FIELD_NUMBER

Nilai Konstan: 2

Metode Publik

boolean publik sama (Obj objek)

GradientDef statis publik getDefaultInstance ()

GradientDef publik getDefaultInstanceForType ()

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

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;

publik dapatkanParserForType ()

publik int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

kode hash int publik ()

boolean akhir publik diinisialisasi ()

GradientDef.Builder statis publik newBuilder (prototipe GradientDef )

GradientDef.Builder statis publik newBuilder ()

GradientDef.Builder publik newBuilderForType ()

parseDelimitedFrom GradientDef statis publik (input InputStream)

Melempar
Pengecualian IO

parseDelimitedFrom GradientDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
Pengecualian IO

parseFrom GradientDef statis publik (data ByteBuffer)

Melempar
InvalidProtocolBufferException

parseFrom GradientDef statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
Pengecualian IO

parseFrom GradientDef statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
InvalidProtocolBufferException

parseFrom GradientDef statis publik (com.google.protobuf.CodedInputStream masukan)

Melempar
Pengecualian IO

parseFrom GradientDef statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
InvalidProtocolBufferException

parseFrom GradientDef statis publik (com.google.protobuf.ByteString data)

Melempar
InvalidProtocolBufferException

parseFrom GradientDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
Pengecualian IO

parseFrom GradientDef statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
InvalidProtocolBufferException

statis publik pengurai ()

GradientDef.Builder toBuilder publik ()

public void writeTo (keluaran com.google.protobuf.CodedOutputStream)

Melempar
Pengecualian IO