grain.ops.copy

copy ops

Members

Functions

copy
auto copy(Tensor!(N, T, Src) x, Opt opt)
auto copy(Tensor!(N, T, Src) x)

copy tensor between devices

Structs

Copy
struct Copy(size_t N, T, Src, Dst)

copy tensor between devices

Meta