publiczna klasa końcowa 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 Klasy zagnieżdżone
| klasa | Konstruktor GradientDef | GradientDef defines the gradient function of a function defined in a function library. | |
Stałe
| wew | FUNCTION_NAME_FIELD_NUMBER | |
| wew | GRADIENT_FUNC_FIELD_NUMBER |
Metody publiczne
| wartość logiczna | równa się (obiekt obiektu) |
| statyczny GradientDef | |
| GradientDef | |
| końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
| Smyczkowy | pobierzNazwęFunkcji () The function name. |
| com.google.protobuf.ByteString | getFunctionNameBytes () The function name. |
| Smyczkowy | getGradientFunc () The gradient function's name. |
| com.google.protobuf.ByteString | getGradientFuncBytes () The gradient function's name. |
| wew | |
| końcowy com.google.protobuf.UnknownFieldSet | |
| wew | hashCode () |
| końcowa wartość logiczna | |
| statyczny GradientDef.Builder | newBuilder (prototyp GradientDef ) |
| statyczny GradientDef.Builder | nowyBuilder () |
| Konstruktor GradientDef | |
| statyczny GradientDef | parseDelimitedFrom (wejście strumienia wejściowego) |
| statyczny GradientDef | parseDelimitedFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny GradientDef | parseFrom (dane ByteBuffer) |
| statyczny GradientDef | parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny GradientDef | parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny GradientDef | parseFrom (wejście com.google.protobuf.CodedInputStream) |
| statyczny GradientDef | parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry) |
| statyczny GradientDef | parseFrom (dane com.google.protobuf.ByteString) |
| statyczny GradientDef | parseFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny GradientDef | parseFrom (dane com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny | parser () |
| Konstruktor GradientDef | |
| próżnia | writeTo (wyjście com.google.protobuf.CodedOutputStream) |
Metody dziedziczone
Stałe
publiczny statyczny końcowy int FUNCTION_NAME_FIELD_NUMBER
Wartość stała: 1
publiczny statyczny końcowy int GRADIENT_FUNC_FIELD_NUMBER
Wartość stała: 2
Metody publiczne
publiczna wartość logiczna równa się (obiekt obiektu)
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; publiczny ciąg 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; publiczny getParserForType ()
publiczny int getSerializedSize ()
publiczny finał com.google.protobuf.UnknownFieldSet getUnknownFields ()
publiczny int hashCode ()
publiczna końcowa wartość logiczna isInitialized ()
publiczny statyczny GradientDef parseDelimitedFrom (wejście strumienia wejściowego)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny GradientDef parseDelimitedFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
public static GradientDef parseFrom (dane ByteBuffer)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
public static GradientDef parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
public static GradientDef parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczny statyczny GradientDef parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
public static GradientDef parseFrom (dane com.google.protobuf.ByteString)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
public static GradientDef parseFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
public static GradientDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczna statyka parser ()
public void writeTo (wyjście com.google.protobuf.CodedOutputStream)
Rzuca
| Wyjątek IO |
|---|