pub fn create_tensor_validated(
data: Vec<f32>,
shape: Vec<usize>,
dtype: DType,
requires_grad: bool,
) -> FfiResult<PyTensor>Expand description
Utility functions for tensor creation and management Create a new tensor from raw data with validation