Skip to main content

spec_tensor_symbol

Function spec_tensor_symbol 

Source
pub fn spec_tensor_symbol(name: &str) -> Symbol
Expand description

Builds a descriptor symbol (numbers/tensor-spec/<name>) for a specialized tensor backend.

ยงExamples

use sim_lib_numbers_tensor::spec_tensor_symbol;

let symbol = spec_tensor_symbol("dense-f64");
assert_eq!(symbol.to_string(), "numbers/tensor-spec/dense-f64");