Merge branch 'ag_dev_updates_KonduitAI_master' of https://github.com/eclipse/deeplearning4j into ag_dev_updates_KonduitAI_master
commit
c56be87d5a
|
@ -2619,7 +2619,7 @@ INLINEDEF _CUDA_HD int numOfNonUnitDims(const int rank, const Nd4jLong* inShape)
|
||||||
}
|
}
|
||||||
|
|
||||||
INLINEDEF _CUDA_HD bool isEmpty(const Nd4jLong *shapeInfo) {
|
INLINEDEF _CUDA_HD bool isEmpty(const Nd4jLong *shapeInfo) {
|
||||||
return ((shape::extra(const_cast<Nd4jLong*>(shapeInfo)) & ARRAY_EMPTY) == ARRAY_EMPTY) || (!shape::isScalar(shapeInfo) && shape::length(shapeInfo) < 1);
|
return ((shape::extra(const_cast<Nd4jLong*>(shapeInfo)) & ARRAY_EMPTY) == ARRAY_EMPTY) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue