In-place replacement of struct fields
Hey all, I was wondering if someone has a away of changing the underlying data of a tensor in a struct at run time.
Can you instead change the pointer of the underlying data of
Edit1: Intrestingly the error does not appear with
Can you instead change the pointer of the underlying data of
self.sourceto another pointer, doing in place change of the tensor? similar to rust's mem::replaceEdit1: Intrestingly the error does not appear with
mojo run but when the binary is build with mojo build and then ./path/to/binary