Skip to main content

tensor_value_ref

Function tensor_value_ref 

Source
pub fn tensor_value_ref(value: &Value) -> Option<&Tensor>
Expand description

Borrows the Tensor backing a value, or None if it is not a tensor.