Skip to main content

ClikaRT::ops::histogram

function

histogram()

std::array<Tensor 2> histogram(
    Tensor x,
    int64_t bins = 100,
    OptionalTensor range = {},
    OptionalTensor weight = {},
    bool density = false
)

Returns: a 2-element array {values, indices}.

Declared in ClikaRT/compute/ops.h, line 4636