DeepRecSys icon indicating copy to clipboard operation
DeepRecSys copied to clipboard

Refactor "sparse_group_size = np.int32(sparse_group.size)"?

Open TharinduRusira opened this issue 2 years ago • 0 comments

Line 113 seems redundant. sparse_group.size == sparse_group_size is always (will eventually be) true, following the while on line 108.

https://github.com/harvard-acc/DeepRecSys/blob/1383176a463aeed25f85f1aeb440a23f5d423013/data_generator/dlrm_data_caffe2.py#L113

TharinduRusira avatar Nov 28 '22 22:11 TharinduRusira