GradientDef

כיתת גמר ציבורית 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 מסוג Protobuf.GradientDef

כיתות מקוננות

מעמד GradientDef.Builder
 GradientDef defines the gradient function of a function defined in
 a function library. 

קבועים

int FUNCTION_NAME_FIELD_NUMBER
int GRADIENT_FUNC_FIELD_NUMBER

שיטות ציבוריות

בוליאני
שווה (Object obj)
סטטי GradientDef
GradientDef
final static com.google.protobuf.Descriptors.Descriptor
חוּט
getFunctionName ()
 The function name.
com.google.protobuf.ByteString
getFunctionNameBytes ()
 The function name.
חוּט
getGradientFunc ()
 The gradient function's name.
com.google.protobuf.ByteString
getGradientFuncBytes ()
 The gradient function's name.
int
final com.google.protobuf.UnknownFieldSet
int
בוליאנית סופית
סטטי GradientDef.Builder
newBuilder (אב טיפוס GradientDef )
סטטי GradientDef.Builder
GradientDef.Builder
סטטי GradientDef
parseDelimitedFrom (קלט InputStream)
סטטי GradientDef
parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי GradientDef
parseFrom (נתוני ByteBuffer)
סטטי GradientDef
parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי GradientDef
parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי GradientDef
parseFrom (קלט com.google.protobuf.CodedInputStream)
סטטי GradientDef
parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי GradientDef
parseFrom (נתוני com.google.protobuf.ByteString)
סטטי GradientDef
parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי GradientDef
parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטָטִי
GradientDef.Builder
בָּטֵל
writeTo (פלט com.google.protobuf.CodedOutputStream)

שיטות בירושה

קבועים

אינט סופי סטטי ציבורי FUNCTION_NAME_FIELD_NUMBER

ערך קבוע: 1

אינט סופי סטטי ציבורי GRADIENT_FUNC_FIELD_NUMBER

ערך קבוע: 2

שיטות ציבוריות

שווה ערך בוליאני ציבורי (Object obj)

Public static GradientDef getDefaultInstance ()

public GradientDef getDefaultInstanceForType ()

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

מחרוזת ציבורית getFunctionName ()

 The function name.
 
string function_name = 1;

public com.google.protobuf.ByteString getFunctionNameBytes ()

 The function name.
 
string function_name = 1;

מחרוזת ציבורית 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;

פּוּמְבֵּי getParserForType ()

public int getSerializedSize ()

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

public int hashCode ()

בוליאני הסופי הציבורי הוא אתחול ()

סטטי ציבורי GradientDef.Builder newBuilder (אב טיפוס GradientDef )

public static GradientDef.Builder newBuilder ()

public GradientDef.Builder newBuilderForType ()

public static GradientDef parseDelimitedFrom (קלט InputStream)

זורק
IOException

public static GradientDef parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

Public static GradientDef parseFrom (נתוני ByteBuffer)

זורק
InvalidProtocolBufferException

Public static GradientDef parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

Public static GradientDef parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

Public static GradientDef parseFrom (קלט com.google.protobuf.CodedInputStream)

זורק
IOException

public static GradientDef parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

Public static GradientDef parseFrom (נתוני com.google.protobuf.ByteString)

זורק
InvalidProtocolBufferException

Public static GradientDef parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

Public static GradientDef parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

סטטי ציבורי מנתח ()

public GradientDef.Builder toBuilder ()

public void writeTo (פלט com.google.protobuf.CodedOutputStream)

זורק
IOException