No you don’t really need the clone.
Note that when you do t = torch.from_numpy(matrix_np) then t and matrix_np actually share memory. So modifying matrix_np inplace would modify t as well. So you might want to actually clone to avoid any issue.