GradientDef

Classe finale publique 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

Classes imbriquées

classe DégradéDef.Builder
 GradientDef defines the gradient function of a function defined in
 a function library. 

Constantes

int FUNCTION_NAME_FIELD_NUMBER
int GRADIENT_FUNC_FIELD_NUMBER

Méthodes publiques

booléen
est égal (Obj objet)
Dégradé statique
DégradéDéf
final statique com.google.protobuf.Descriptors.Descriptor
Chaîne
getFunctionName ()
 The function name.
com.google.protobuf.ByteString
getFunctionNameBytes ()
 The function name.
Chaîne
getGradientFunc ()
 The gradient function's name.
com.google.protobuf.ByteString
getGradientFuncBytes ()
 The gradient function's name.
int
final com.google.protobuf.UnknownFieldSet
int
booléen final
DégradéDef.Builder statique
newBuilder (prototype GradientDef )
DégradéDef.Builder statique
DégradéDef.Builder
Dégradé statique
parseDelimitedFrom (entrée InputStream)
Dégradé statique
parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Dégradé statique
parseFrom (données ByteBuffer)
Dégradé statique
parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Dégradé statique
parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Dégradé statique
parseFrom (entrée com.google.protobuf.CodedInputStream)
Dégradé statique
parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Dégradé statique
parseFrom (données com.google.protobuf.ByteString)
Dégradé statique
parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Dégradé statique
parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique
DégradéDef.Builder
vide
writeTo (sortie com.google.protobuf.CodedOutputStream)

Méthodes héritées

Constantes

public statique final int FUNCTION_NAME_FIELD_NUMBER

Valeur constante : 1

public statique final int GRADIENT_FUNC_FIELD_NUMBER

Valeur constante : 2

Méthodes publiques

public booléen égal (Objet obj)

public statique GradientDef getDefaultInstance ()

public GradientDef getDefaultInstanceForType ()

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

chaîne publique getFunctionName ()

 The function name.
 
string function_name = 1;

public com.google.protobuf.ByteString getFunctionNameBytes ()

 The function name.
 
string function_name = 1;

chaîne publique 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;

publique getParserForType ()

public int getSerializedSize ()

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

code de hachage int public ()

public final booléen isInitialized ()

public statique GradientDef.Builder newBuilder (prototype GradientDef )

public statique GradientDef.Builder newBuilder ()

public GradientDef.Builder newBuilderForType ()

public static GradientDef parseDelimitedFrom (entrée InputStream)

Jetés
IOException

public static GradientDef parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static GradientDef parseFrom (données ByteBuffer)

Jetés
InvalidProtocolBufferException

public static GradientDef parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static GradientDef parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public static GradientDef parseFrom (entrée com.google.protobuf.CodedInputStream)

Jetés
IOException

public static GradientDef parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public static GradientDef parseFrom (données com.google.protobuf.ByteString)

Jetés
InvalidProtocolBufferException

public static GradientDef parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static GradientDef parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique analyseur ()

public GradientDef.Builder toBuilder ()

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

Jetés
IOException