Skip to main content

eval

Function eval 

Source
pub fn eval(op: &Op, out_shape: &Shape, inputs: &[(Shape, HostBuf)]) -> Vec<f32>
Expand description

Run a single op on the CPU reference and return its f32 output. inputs[i] is (declared_shape, buffer).