Skip to content
tmpl

on_scalar_axis

auto on_scalar_axis()

run(a viewed as (1,), 0) for a 0-d a whose dim names its one notional axis, with every result viewed back to 0-d. run returns a tensor or a vector of tensors.