Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
[MXNET-1413] Adding Large Tensor support for sort operators (#15170)
Browse files Browse the repository at this point in the history
  • Loading branch information
access2rohit authored and apeforest committed Jun 21, 2019
1 parent 3f8fd00 commit 8b5f376
Show file tree
Hide file tree
Showing 4 changed files with 149 additions and 82 deletions.
2 changes: 1 addition & 1 deletion src/operator/tensor/init_op.h
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ void EyeFill(const nnvm::NodeAttrs& attrs,

struct range_fwd {
template<typename DType>
MSHADOW_XINLINE static void Map(index_t i, int repeat, DType start, DType step,
MSHADOW_XINLINE static void Map(index_t i, index_t repeat, DType start, DType step,
int req, DType* out) {
KERNEL_ASSIGN(out[i], req, start + (i/repeat) * step);
}
Expand Down
Loading

0 comments on commit 8b5f376

Please sign in to comment.