27#include "neml2/misc/types.h"
28#include "neml2/tensors/tensors_fwd.h"
53#define DECLARE_LINSPACE(T) \
54 T dynamic_linspace(const T & start, const T & end, Size nstep, Size dim = 0); \
55 T intmd_linspace(const T & start, const T & end, Size nstep, Size dim = 0)
56FOR_ALL_TENSORBASE(DECLARE_LINSPACE);
57#undef DECLARE_LINSPACE
Definition DiagnosticsInterface.h:31
int64_t Size
Definition types.h:71
Tensor base_linspace(const Tensor &start, const Tensor &end, Size nstep, Size dim=0)