nki.language.copy — AWS Neuron Documentation (original) (raw)

This document is relevant for: Inf2, Trn1, Trn2

nki.language.copy#

nki.language.copy(src, *, mask=None, dtype=None, **kwargs)[source]#

Create a copy of the src tile.

Parameters:

Returns:

a new tile with the same layout as src, this new tile will be in SBUF, but can be also assigned to a PSUM tensor.

This document is relevant for: Inf2, Trn1, Trn2