genel final sınıfı 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.Protobuf türü
tensorflow.GradientDef
İç İçe Sınıflar
sınıf | GradientDef.Builder | GradientDef defines the gradient function of a function defined in a function library. |
Sabitler
int | FUNCTION_NAME_FIELD_NUMBER | |
int | GRADIENT_FUNC_FIELD_NUMBER |
Genel Yöntemler
boolean | eşittir (Nesne nesnesi) |
statik GradientDef | |
GradientDef | |
final statik com.google.protobuf.Descriptors.Descriptor | |
Sicim | getFunctionName () The function name. |
com.google.protobuf.ByteString | getFunctionNameBytes () The function name. |
Sicim | getGradientFunc () The gradient function's name. |
com.google.protobuf.ByteString | getGradientFuncBytes () The gradient function's name. |
int | |
final com.google.protobuf.UnknownFieldSet | |
int | hashKodu () |
son boole değeri | Başlatıldı () |
statik GradientDef.Builder | newBuilder ( GradientDef prototipi) |
statik GradientDef.Builder | yeniİnşaatçı () |
GradientDef.Builder | |
statik GradientDef | parseDelimitedFrom (InputStream girişi) |
statik GradientDef | parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik GradientDef | parseFrom (ByteBuffer verileri) |
statik GradientDef | parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik GradientDef | parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik GradientDef | ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi) |
statik GradientDef | parseFrom (byte[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik GradientDef | ayrıştırmaFrom (com.google.protobuf.ByteString verileri) |
statik GradientDef | parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik GradientDef | parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik | ayrıştırıcı () |
GradientDef.Builder | inşaatçıya () |
geçersiz | writeTo (com.google.protobuf.CodedOutputStream çıkışı) |
Kalıtsal Yöntemler
Sabitler
genel statik final int FUNCTION_NAME_FIELD_NUMBER
Sabit Değer: 1
genel statik final int GRADIENT_FUNC_FIELD_NUMBER
Sabit Değer: 2
Genel Yöntemler
genel boole eşittir (Object 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;
genel Dize 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;
halk getParserForType ()
public int getSerializedSize ()
genel final com.google.protobuf.UnknownFieldSet getUnknownFields ()
genel int hashCode ()
genel final boolean isInitialized ()
public static GradientDef parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
public static GradientDef ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
public static GradientDef parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik GradientDef ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi)
Atar
IOİstisnası |
---|
public static GradientDef parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik GradientDef ayrıştırmaFrom (com.google.protobuf.ByteString verileri)
Atar
Geçersiz ProtokolBufferException |
---|
public static GradientDef parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel statik GradientDef ayrıştırmaFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ayrıştırıcı ()
genel geçersiz writeTo (com.google.protobuf.CodedOutputStream çıkışı)
Atar
IOİstisnası |
---|