make_copy: Make copy of tensor, numpy array or R array

Description Usage Arguments

View source: R/properties.R

Description

A copy of an array or tensor might be needed to prevent warnings by new PyTorch versions on overwriting the numpy object

Usage

1
make_copy(object, ...)

Arguments

object

a torch tensor or numpy array or R array

...

additional parameters


f0nzie/rTorch documentation built on Oct. 28, 2021, 5:40 a.m.