Generic typed view implemented by every concrete Tensor generated dtype class.

Tensor<T> is a generic-build facade and can only materialize concrete dtype classes such as Tensor<I32>. Public APIs that need to relate several tensor dtype parameters use this interface through the Tensor<T> facade in generic contexts.

Methods

read(flatIndex:Int):T

scalarWrite(value:T):Void

write(flatIndex:Int, value:T):Void