make_copy {rTorch} | R Documentation |
Make copy of tensor, numpy array or R array
Description
A copy of an array or tensor might be needed to prevent warnings by new PyTorch versions on overwriting the numpy object
Usage
make_copy(object, ...)
Arguments
object |
a torch tensor or numpy array or R array |
... |
additional parameters |
[Package rTorch version 0.4.2 Index]