pub fn eval(f: &Function, args: &[HostArray]) -> Result<Vec<HostArray>>
Evaluates f on args.
f
args
Returns an error if the arguments do not match the inputs of f, or if a primitive rejects its inputs.