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

Commit

Permalink
index tensor to have int64
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaiBapchya committed Sep 11, 2019
1 parent f8f4300 commit 5b6d697
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/operator/sequence_last.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ template <>
Operator *CreateOp<cpu>(SequenceLastParam param, int dtype, int itype) {
Operator *op = nullptr;
MSHADOW_TYPE_SWITCH(dtype, DType, {
MSHADOW_TYPE_SWITCH(itype, IType, {
op = new SequenceLastOp<cpu, DType, IType>(param);
});
// MSHADOW_TYPE_SWITCH(itype, IType, {
op = new SequenceLastOp<cpu, DType, int64_t>(param);
// });
});
return op;
}
Expand Down

0 comments on commit 5b6d697

Please sign in to comment.