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
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Kumar Srivastava committed Jun 20, 2019
1 parent 2de0db0 commit 496dd9f
Show file tree
Hide file tree
Showing 4 changed files with 150 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 496dd9f

Please sign in to comment.