Update strided_slice.cpp

master
agibsonccc 2021-03-12 12:00:24 +09:00
parent c533e99715
commit 61d6437a27
1 changed files with 0 additions and 2 deletions

View File

@ -531,11 +531,9 @@ namespace sd {
// } else { // } else {
// newShape = ConstantShapeHelper::getInstance().scalarShapeInfo(ArrayOptions::dataType(inShape)); // newShape = ConstantShapeHelper::getInstance().scalarShapeInfo(ArrayOptions::dataType(inShape));
// } // }
nd4j_printf("Returning new shape %d\n",0);
return SHAPELIST(newShape); return SHAPELIST(newShape);
} }
nd4j_printf("Returning empty shape info %d\n",0);
return SHAPELIST(ConstantShapeHelper::getInstance().emptyShapeInfo(ArrayOptions::dataType(inShape))); return SHAPELIST(ConstantShapeHelper::getInstance().emptyShapeInfo(ArrayOptions::dataType(inShape)));
} }