CopyToΒΆ

Copies values from one array to another, broadcasting as necessary.

Abstract Signature:

CopyTo(dst: Array, src: Array, casting: str = same_kind, where: Array = True)

PyTorch

API: torch.Tensor.copy_
Strategy: Infix (?)

NumPy

API: numpy.copyto
Strategy: Direct Mapping