ml: Empty tensor constructor for tensors
In cases where we allocate a tensor and then fully overwrite it with copied data, it is wasteful to first zero out the memory.
Showing
Please register or sign in to comment
In cases where we allocate a tensor and then fully overwrite it with copied data, it is wasteful to first zero out the memory.