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.
 
نوع Protobuf tensorflow.GradientDef

کلاس های تو در تو

کلاس GradientDef.Builder
 GradientDef defines the gradient function of a function defined in
 a function library. 

ثابت ها

بین المللی FUNCTION_NAME_FIELD_NUMBER
بین المللی GRADIENT_FUNC_FIELD_NUMBER

روش های عمومی

بولی
برابر است (object obj)
استاتیک GradientDef
GradientDef
نهایی 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.
بین المللی
com.google.protobuf.UnknownFieldSet نهایی
بین المللی
بولی نهایی
استاتیک GradientDef.Builder
newBuilder (نمونه اولیه GradientDef )
استاتیک GradientDef.Builder
GradientDef.Builder
استاتیک GradientDef
parseDelimitedFrom (ورودی جریان ورودی)
استاتیک 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 (بایت[] داده، 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)

استاتیک عمومی GradientDef getDefaultInstance ()

عمومی GradientDef getDefaultInstanceForType ()

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

رشته عمومی getFunctionName ()

 The function name.
 
string function_name = 1;

عمومی 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 ()

عمومی int getSerializedSize ()

عمومی نهایی com.google.protobuf.UnknownFieldSet getUnknownFields ()

هش کد عمومی ()

بولین نهایی عمومی isInitialized ()

استاتیک عمومی GradientDef.Builder newBuilder (نمونه اولیه GradientDef )

استاتیک عمومی GradientDef.Builder newBuilder ()

عمومی GradientDef.Builder newBuilderForType ()

عمومی استاتیک GradientDef parseDelimitedFrom (ورودی جریان ورودی)

پرتاب می کند
IOException

عمومی استاتیک GradientDef parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک GradientDef parseFrom (داده ByteBuffer)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک GradientDef parseFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک GradientDef parseFrom (داده های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک GradientDef parseFrom (ورودی com.google.protobuf.CodedInputStream)

پرتاب می کند
IOException

عمومی استاتیک GradientDef parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک GradientDef parseFrom (داده های com.google.protobuf.ByteString)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک GradientDef parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک GradientDef parseFrom (داده های com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

استاتیک عمومی تجزیه کننده ()

عمومی GradientDef.Builder toBuilder ()

public void writeTo (خروجی com.google.protobuf.CodedOutputStream)

پرتاب می کند
IOException