GradientDef

classe finale pubblica 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.
 
Tipo protobuf tensorflow.GradientDef

Classi nidificate

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

Costanti

int FUNCTION_NAME_FIELD_NUMBER
int GRADIENT_FUNC_FIELD_NUMBER

Metodi pubblici

booleano
è uguale a (Oggetto oggetto)
Gradiente staticoDef
GradienteDef
com.google.protobuf.Descriptors.Descriptor statico finale
Corda
getFunzioneNome ()
 The function name.
com.google.protobuf.ByteString
getFunctionNameBytes ()
 The function name.
Corda
getGradientFunc ()
 The gradient function's name.
com.google.protobuf.ByteString
getGradientFuncBytes ()
 The gradient function's name.
int
finale com.google.protobuf.UnknownFieldSet
int
booleano finale
GradientDef.Builder statico
newBuilder (prototipo GradientDef )
GradientDef.Builder statico
GradientDef.Builder
Gradiente staticoDef
parseDelimitedFrom (input InputStream)
Gradiente staticoDef
parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Gradiente staticoDef
parseFrom (dati ByteBuffer)
Gradiente staticoDef
parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
Gradiente staticoDef
parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Gradiente staticoDef
parseFrom (ingresso com.google.protobuf.CodedInputStream)
Gradiente staticoDef
parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Gradiente staticoDef
parseFrom (dati com.google.protobuf.ByteString)
Gradiente staticoDef
parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Gradiente staticoDef
parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
statico
GradientDef.Builder
vuoto
writeTo (output com.google.protobuf.CodedOutputStream)

Metodi ereditati

Costanti

pubblico statico finale int FUNCTION_NAME_FIELD_NUMBER

Valore costante: 1

public static final int GRADIENT_FUNC_FIELD_NUMBER

Valore costante: 2

Metodi pubblici

booleano pubblico è uguale a (Oggetto obj)

pubblico statico GradientDef getDefaultInstance ()

pubblico GradientDef getDefaultInstanceForType ()

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

stringa pubblica getFunctionName ()

 The function name.
 
string function_name = 1;

pubblico com.google.protobuf.ByteString getFunctionNameBytes ()

 The function name.
 
string function_name = 1;

stringa pubblica getGradientFunc ()

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

pubblico com.google.protobuf.ByteString getGradientFuncBytes ()

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

pubblico getParserForType ()

public int getSerializedSize ()

pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final booleano isInitialized ()

public static GradientDef.Builder newBuilder (prototipo GradientDef )

pubblico statico GradientDef.Builder newBuilder ()

public GradientDef.Builder newBuilderForType ()

public static GradientDef parseDelimitedFrom (input InputStream)

Lancia
IOException

public static GradientDef parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom GradientDef statico pubblico (dati ByteBuffer)

Lancia
InvalidProtocolBufferException

parseFrom GradientDef statico pubblico (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom GradientDef statico pubblico (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom GradientDef statico pubblico (input com.google.protobuf.CodedInputStream)

Lancia
IOException

public static GradientDef parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom GradientDef statico pubblico (dati com.google.protobuf.ByteString)

Lancia
InvalidProtocolBufferException

parseFrom GradientDef statico pubblico (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom GradientDef statico pubblico (dati com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

pubblico statico analizzatore ()

pubblico GradientDef.Builder toBuilder ()

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

Lancia
IOException