xref: /aosp_15_r20/external/pytorch/aten/src/ATen/native/RangeFactories.h (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1 #include <ATen/native/DispatchStub.h>
2 #include <c10/core/Scalar.h>
3 
4 namespace at {
5 struct TensorIterator;
6 
7 namespace native {
8 
9 DECLARE_DISPATCH(void(*)(TensorIterator&, const Scalar&, const Scalar&, const Scalar&), arange_stub);
10 DECLARE_DISPATCH(void(*)(TensorIterator&, const Scalar&, const Scalar&, int64_t), linspace_stub);
11 
12 }}  // namespace at::native
13