Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around offsets and indices type mismatch int TBE training (#3037)
Summary: X-link: facebookresearch/FBGEMM#135 Pull Request resolved: #3037 D61524189 added `bounds_check_indices` in the `prefetch` function. It expects `indices` and `offsets` to have the same type. However, that is not always the case. This diff forces type casting on `indices` and `offsets` if they do not have the same type. A long term solution is to update `bounds_check_indices` to support `indices` and `offsets` that have different types. Reviewed By: PaulZhang12 Differential Revision: D61801695
- Loading branch information