Update strided_slice.cpp
parent
c533e99715
commit
61d6437a27
|
@ -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)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue