Closed abrown closed 2 months ago
This refactors the data accessor functions in Tensor to be more consistent with conventions elsewhere (e.g., get_). It also checks a bit more robustly whether the underlying pointer can in fact be casted to the type we expect.
Tensor
get_
This refactors the data accessor functions in
Tensor
to be more consistent with conventions elsewhere (e.g.,get_
). It also checks a bit more robustly whether the underlying pointer can in fact be casted to the type we expect.