fnscalar_as_1dint scalar_as_1d(const int & t)sourceeditt viewed as shape (1,) when it is 0-d, else t itself.