materialize
Materializes the given tensor view into a concrete tensor.
This method performs the core materialization operation, transforming a view (which references parent tensor data through coordinate mapping) into a standalone tensor with its own data storage.
The implementation should:
Preserve the view's shape and data type
Copy or reference the appropriate data elements
Maintain data integrity and type safety
Apply any strategy-specific optimizations
Return
a new Tensor containing the materialized data
Parameters
view
the TensorView to materialize
Throws
if the view cannot be materialized