Home
last modified time | relevance | path

Searched refs:roi2 (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/
Droi_pooling.mod.py58 roi2 = Input("roi", "TENSOR_FLOAT32", "{4, 4}") variable
60 Model().Operation("ROI_POOLING", i2, roi2, [0, 0, 3, 3], 2, 3, 4.0, 4.0, layout).To(o2)
64 roi2: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
100 roi2: [
Droi_align.mod.py56 roi2 = Input("roi", "TENSOR_FLOAT32", "{4, 4}") variable
58 Model().Operation("ROI_ALIGN", i2, roi2, [0, 0, 3, 3], 2, 3, 4.0, 4.0, 4, 4, layout).To(o2)
62 roi2: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
98 roi2: [
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/
Droi_pooling_quant8_signed.mod.py58 roi2 = Input("roi", "TENSOR_FLOAT32", "{4, 4}") variable
60 Model().Operation("ROI_POOLING", i2, roi2, [0, 0, 3, 3], 2, 3, 4.0, 4.0, layout).To(o2)
64 roi2: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
100 roi2: [
Droi_align_quant8_signed.mod.py56 roi2 = Input("roi", "TENSOR_FLOAT32", "{4, 4}") variable
58 Model().Operation("ROI_ALIGN", i2, roi2, [0, 0, 3, 3], 2, 3, 4.0, 4.0, 4, 4, layout).To(o2)
62 roi2: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
98 roi2: [
/packages/modules/NeuralNetworks/common/cpu_operations/
DGenerateProposals.cpp178 float getIoUAxisAligned(const float* roi1, const float* roi2) { in getIoUAxisAligned() argument
180 const float area2 = (roi2[2] - roi2[0]) * (roi2[3] - roi2[1]); in getIoUAxisAligned()
181 const float x1 = std::max(roi1[0], roi2[0]); in getIoUAxisAligned()
182 const float x2 = std::min(roi1[2], roi2[2]); in getIoUAxisAligned()
183 const float y1 = std::max(roi1[1], roi2[1]); in getIoUAxisAligned()
184 const float y2 = std::min(roi1[3], roi2[3]); in getIoUAxisAligned()