Squeezes a tensor by calling torch::torch_squeeze()
with the given dimension dim
.
Arguments
- dim
(
integer()
)
The dimension to squeeze.
Squeezes a tensor by calling torch::torch_squeeze()
with the given dimension dim
.
(integer()
)
The dimension to squeeze.