Home
last modified time | relevance | path

Searched refs:blockSizeData (Results 1 – 2 of 2) sorted by relevance

/frameworks/ml/nn/common/
DOperationsUtils.cpp573 const int32_t* blockSizeData, in batchToSpacePrepare() argument
590 NN_OPS_CHECK(batches % (blockSizeData[0] * blockSizeData[1]) == 0); in batchToSpacePrepare()
592 output->dimensions = {batches / (blockSizeData[0] * blockSizeData[1]), in batchToSpacePrepare()
593 height * blockSizeData[0], in batchToSpacePrepare()
594 width * blockSizeData[1], in batchToSpacePrepare()
603 const int32_t* blockSizeData, in spaceToBatchPrepare() argument
631 NN_OPS_CHECK(paddedHeight % blockSizeData[0] == 0); in spaceToBatchPrepare()
632 NN_OPS_CHECK(paddedWidth % blockSizeData[1] == 0); in spaceToBatchPrepare()
635 output->dimensions = {batches * (blockSizeData[0] * blockSizeData[1]), in spaceToBatchPrepare()
636 paddedHeight / blockSizeData[0], in spaceToBatchPrepare()
[all …]
/frameworks/ml/nn/common/include/
DOperationsUtils.h335 const int32_t* blockSizeData,
340 const int32_t* blockSizeData,