Open athul-bos-semi opened 7 months ago
FYI @mbahnasTT
@jliangTT , TM team to triage. fyi @tarafdarTT @yan-zaretskiy
@davorchap , prirotiy pelase?
@davorchap @jliangTT Please consider this one of the Higher priority Ops, as Copying into slices make Tensor Manipulation becomes a whole lot easier in the long run
@davorchap Is there any update on the priority for this Op?
In order to perform tensor manipulation operations (such as Image-to-column), copying into specific slices of a tensor is important. The current
tt_lib.tensor.copy
can copy from slices, but will only work if the destination is a full tensor of the same slice.The solution I'd like
It would be great if
tt_lib.tensor.copy(act[:,:,:,:], col[:,:,:,:])
also works the same astt_lib.tensor.copy(act[:,:,:,:], col)
, and consequently, copy into a tensor of different shape likett_lib.tensor.copy(act[:,:,:,:], col[:,:,:,:act.volume()])
(the destination slice will still be the same shape.Output of current code
Environment information: OS: Devcloud running on Ubuntu 20.04.4 LTS (Focal) Version of software: v0.46.0-rc7