pub fn from_numpy(array: PyReadonlyArrayDyn<'_, f32>) -> PyResult<PyTensor>
Create tensor from NumPy array