5#include "axis_list.hpp"
7#include <rexlib/core/platform/dynamic_shared_object.h>
8#include <rexlib/core/span.hpp>
59 bool m_keep_dimensions;
Container for multidimensional numeric data.
Definition array.hpp:31
The axes a reduction acts along, and whether its result keeps them with an extent of one.
Definition reduction_axes.hpp:25
bool get_keep_dimensions() const noexcept
Check whether the result keeps the reduced axes.
reduction_axes(axis_list axes, bool keep_dimensions=false) noexcept
Construct the parameters of a reduction.
span< const std::size_t > get_axes() const noexcept
Get the axes reduced.
Represents a non-owning area of contiguous memory.
Definition span.hpp:99
std::vector< std::size_t > axis_list
The axes an operation acts along.
Definition axis_list.hpp:19
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10