Bugfix: typo, make reduction device cases passed

Signed-off-by: Peter Han <fujun.han@iluvatar.ai>
This commit is contained in:
Peter Han 2021-04-02 09:35:23 +08:00
parent 8a3e4b8d02
commit 7074047a54

View File

@ -170,7 +170,7 @@ struct TensorReduction {
cudaStream_t stream = nullptr) {
int64_t src_stride[3];
int64_t dst_stride[2];
int64_t dst_stride[3];
switch (reduction_index) {
case 0: