pub fn tensor( data: &Bound<'_, PyAny>, dtype: Option<&str>, requires_grad: bool, ) -> PyResult<PyTensor>
Create tensor from data