Table of Contents

Class NumberWithGrad

Namespace
NeuralNetworks.Core
Assembly
NeuralNetworks.dll
public class NumberWithGrad
Inheritance
NumberWithGrad
Inherited Members

Constructors

NumberWithGrad(float, List<NumberWithGrad>, CreationOp)

public NumberWithGrad(float number, List<NumberWithGrad> dependsOn, CreationOp creationOp)

Parameters

number float
dependsOn List<NumberWithGrad>
creationOp CreationOp

Properties

Grad

public float Grad { get; }

Property Value

float

Number

public float Number { get; }

Property Value

float

Methods

Backward()

public void Backward()

Operators

operator +(NumberWithGrad, NumberWithGrad)

public static NumberWithGrad operator +(NumberWithGrad a, NumberWithGrad b)

Parameters

a NumberWithGrad
b NumberWithGrad

Returns

NumberWithGrad

implicit operator NumberWithGrad(float)

public static implicit operator NumberWithGrad(float number)

Parameters

number float

Returns

NumberWithGrad

operator *(NumberWithGrad, NumberWithGrad)

public static NumberWithGrad operator *(NumberWithGrad a, NumberWithGrad b)

Parameters

a NumberWithGrad
b NumberWithGrad

Returns

NumberWithGrad