maybe_unsqueeze {fastai} | R Documentation |
Maybe_unsqueeze
Description
Add empty dimension if it is a rank 1 tensor/array
Usage
maybe_unsqueeze(x)
Arguments
x |
R array/matrix/tensor |
Value
array
[Package fastai version 2.2.2 Index]
maybe_unsqueeze {fastai} | R Documentation |
Add empty dimension if it is a rank 1 tensor/array
maybe_unsqueeze(x)
x |
R array/matrix/tensor |
array