pub fn tensor_to_python_dict(tensor: &MLTensor) -> Result<Value>
Convert tensor to Python-compatible dictionary