You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the static tensor gets confused about which strides type it should use for rank one extents because of the ambiguity between the extents_static_rank<4> and extents_static<4>. This ambiguity occurs because, behind the scene, they both are the specialization of the extents_core<...>.
When we create a static tensor of rank one, instead of choosing the strides from the extents_static, it chooses the strides from the extents_static_rank.
auto t = tensor_static<float, extents<2>>(); // error: no viable conversion from 'const array<[...], 1>' to 'const array<[...], 2UL aka 2>'
The text was updated successfully, but these errors were encountered:
Right now, the static tensor gets confused about which strides type it should use for rank one extents because of the ambiguity between the
extents_static_rank<4>
andextents_static<4>
. This ambiguity occurs because, behind the scene, they both are the specialization of theextents_core<...>
.When we create a static tensor of rank one, instead of choosing the strides from the
extents_static
, it chooses the strides from theextents_static_rank
.The text was updated successfully, but these errors were encountered: