Function tensor

Source
pub fn tensor(name: &str, dimensions: &[i64]) -> ValueInfoProto
Expand description

Shorthand method to define an ONNX tensor with the specified name and shape (data type is f32)