Add empty dimension if it is a rank 1 tensor/array

maybe_unsqueeze(x)

Arguments

x

R array/matrix/tensor

Value

array