| nn_unsqueeze {mlr3torch} | R Documentation |
Unsqueeze
Description
Unsqueezes a tensor by calling torch::torch_unsqueeze() with the given dimension dim.
Usage
nn_unsqueeze(dim)
Arguments
dim |
( |
[Package mlr3torch version 0.1.0 Index]
| nn_unsqueeze {mlr3torch} | R Documentation |
Unsqueezes a tensor by calling torch::torch_unsqueeze() with the given dimension dim.
nn_unsqueeze(dim)
dim |
( |