2024-08-28 16:37:03 +08:00
|
|
|
#include "irrt/exception.hpp"
|
|
|
|
#include "irrt/int_types.hpp"
|
|
|
|
#include "irrt/list.hpp"
|
|
|
|
#include "irrt/math.hpp"
|
|
|
|
#include "irrt/ndarray.hpp"
|
2024-08-24 15:37:45 +08:00
|
|
|
#include "irrt/range.hpp"
|
2024-08-28 16:37:03 +08:00
|
|
|
#include "irrt/slice.hpp"
|
2024-08-20 11:38:05 +08:00
|
|
|
#include "irrt/ndarray/basic.hpp"
|
|
|
|
#include "irrt/ndarray/def.hpp"
|
2024-08-21 13:43:07 +08:00
|
|
|
#include "irrt/ndarray/iter.hpp"
|
core/ndstrides: implement np_array()
It also checks for inconsistent dimensions if the input is a list.
e.g., rejecting `[[1.0, 2.0], [3.0]]`.
However, currently only `np_array(<input>, copy=False)` and `np_array(<input>, copy=True)` are supported. In NumPy, copy could be false, true, or None. Right now, NAC3's `np_array(<input>, copy=False)` behaves like NumPy's `np.array(<input>, copy=None)`.
2024-08-20 15:10:39 +08:00
|
|
|
#include "irrt/ndarray/indexing.hpp"
|
2024-08-20 16:24:45 +08:00
|
|
|
#include "irrt/ndarray/array.hpp"
|
2024-08-22 09:59:58 +08:00
|
|
|
#include "irrt/ndarray/reshape.hpp"
|
2024-08-20 16:35:20 +08:00
|
|
|
#include "irrt/ndarray/broadcast.hpp"
|
|
|
|
#include "irrt/ndarray/transpose.hpp"
|