provide opaque tensor type `ttl::Tensor`
lgarithm opened this issue · 2 comments
lgarithm commented
The class ttl::Tensor
should have no template parameters.
discussions:
-
Q: What will be the relationship between
std::Tensor
andstd::raw_tensor
?
A: currently raw_tensor only hides dtype and rank but not device -
A: should we use
ttl::raw_tensor
instead ofttl::Tensor
? -
Q: what else does
ttl::Tensor
provide?
A: a). tensor with non-consecutive storage. b). tensor with customized strides, c) sparse tensor?
lgarithm commented
The Tensor
type is currently implemented under stdml
namespace.
lgarithm commented
should the opaque tensor be under the namespace ttl
? e.g. ttl::opaque_tensor
(without any template parameters)