| 147 | #undef CONSTANT |
| 148 | |
| 149 | array range(const dim4 &dims, const int seq_dim, const af::dtype ty) { |
| 150 | af_array out; |
| 151 | AF_THROW(af_range(&out, dims.ndims(), dims.get(), seq_dim, ty)); |
| 152 | return array(out); |
| 153 | } |
| 154 | |
| 155 | array range(const dim_t d0, const dim_t d1, const dim_t d2, const dim_t d3, |
| 156 | const int seq_dim, const af::dtype ty) { |