Backends/SiaNet.Backend.TensorSharp/Expression/VariableExpression.cs
/// <summary>
/// Evaluates the specified write target.
/// </summary>
/// <param name="writeTarget">The write target.</param>
/// <returns>Tensor.</returns>
Evaluates the specified write target.
Evaluates the specified write target .
public override NDArray Evaluate(NDArray writeTarget)
        {
            using (var s = src.Evaluate(null))
            using (var m1Val = m1.Evaluate(null))
            using (var m2Val = m2.Evaluate(null))
            {
                return Ops.Addmm(writeTarget, beta, s, alpha, m1Val, m2Val);
            }
        }
public override NDArray Evaluate ( NDArray writeTarget ) { using ( var s = src . Evaluate ( null ) ) using ( var m1Val = m1 . Evaluate ( null ) ) using ( var m2Val = m2 . Evaluate ( null ) ) { return Ops . Addmm ( writeTarget , beta , s , alpha , m1Val , m2Val ) ; } }
Evaluates the specified write target.
Evaluates the specified write target .
None
writeTarget
NDArray
The write target.
The write target .