Searched refs:numberOfElements (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/ |
D | TestHarness.cpp | 707 const uint32_t numberOfElements = getNumberOfElements(converted); in convertOperandToFloat32() local 708 converted.data = TestBuffer(numberOfElements * sizeof(float)); in convertOperandToFloat32() 713 std::transform(data, data + numberOfElements, floatData, [&op](T val) { in convertOperandToFloat32() 717 std::transform(data, data + numberOfElements, floatData, in convertOperandToFloat32() 796 const uint32_t numberOfElements = getNumberOfElements(*op); in setDataFromFloat32Buffer() local 801 std::transform(floatData, floatData + numberOfElements, data, [op](float val) { in setDataFromFloat32Buffer() 808 std::transform(floatData, floatData + numberOfElements, data, in setDataFromFloat32Buffer()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestPartitioning.cpp | 644 uint32_t numberOfElements(Dimensioned dimensioned) { in numberOfElements() function 707 std::vector<float> values(numberOfElements(dimensioned), 0.0f); in addFloatZeroOperand()
|