Backends/SiaNet.Backend.TensorSharp/Expression/VariableExpression.cs
/// <summary>
/// Evaluates the specified write target.
/// </summary>
/// <param name="writeTarget">The write target.</param>
/// <returns>Tensor.</returns>
/// <exception cref="InvalidOperationException">Cannot Select directly into another tensor</exception>
Evaluates the specified write target.
Evaluates the specified write target .
public override NDArray Evaluate(NDArray writeTarget)
        {
            if (writeTarget != null) throw new InvalidOperationException("Cannot Select directly into another tensor");
            using (var s = src.Evaluate(null))
            {
                return evaluate(s);
            }
        }
public override NDArray Evaluate ( NDArray writeTarget ) { if ( writeTarget != null ) throw new InvalidOperationException ( " " ) ; using ( var s = src . Evaluate ( null ) ) { return evaluate ( s ) ; } }
Evaluates the specified write target.
Evaluates the specified write target .
None
Cannot Select directly into another tensor
Cannot Select directly into another tensor
writeTarget
NDArray
The write target.
The write target .