You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For any of TensorWrapper's ctors which take a Buffer, the ctor should make sure that non-empty Buffers are consistent with the shape and allocators provided. This means the Buffer should be reshaped and/or reallocated as needed. If the Buffer is empty, then we assume that shape and allocator are being used as hints for how to eventually fill the Buffer (and nothing needs to be done until the buffer is filled).
The text was updated successfully, but these errors were encountered:
For any of TensorWrapper's ctors which take a Buffer, the ctor should make sure that non-empty Buffers are consistent with the shape and allocators provided. This means the Buffer should be reshaped and/or reallocated as needed. If the Buffer is empty, then we assume that shape and allocator are being used as hints for how to eventually fill the Buffer (and nothing needs to be done until the buffer is filled).
The text was updated successfully, but these errors were encountered: