BTAS icon indicating copy to clipboard operation
BTAS copied to clipboard

Tensor::slice(std::initializer_list<range1d<U>> ) is broken now

Open shengg opened this issue 11 years ago • 1 comments

Tensor::slice() is broken, because it uses Tensorview constructor. However, explicit Tensorview(range_type&&, storage_type&) is private.

Since there is make_view(), maybe Tensor::slice is not useful now.

shengg avatar Aug 05 '14 01:08 shengg

It's not clear to me if this function should return make_tensor or make_rwtensor. Maybe better to remove it.

shiozaki avatar Aug 05 '14 16:08 shiozaki