Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/specs/V1_2/
Droi_pooling.mod.py21 roi1 = Input("roi", "TENSOR_FLOAT32", "{5, 4}") variable
23 Model().Operation("ROI_POOLING", i1, roi1, [0, 0, 0, 0, 0], 2, 2, 2.0, 2.0, layout).To(o1)
27 roi1: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
39 roi1: [
Droi_align.mod.py21 roi1 = Input("roi", "TENSOR_FLOAT32", "{4, 4}") variable
23 Model().Operation("ROI_ALIGN", i1, roi1, [0, 0, 0, 0], 2, 2, 2.0, 2.0, 4, 4, layout).To(o1)
27 roi1: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
39 roi1: [
/frameworks/ml/nn/runtime/test/specs/V1_3/
Droi_pooling_quant8_signed.mod.py21 roi1 = Input("roi", "TENSOR_FLOAT32", "{5, 4}") variable
23 Model().Operation("ROI_POOLING", i1, roi1, [0, 0, 0, 0, 0], 2, 2, 2.0, 2.0, layout).To(o1)
27 roi1: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
39 roi1: [
Droi_align_quant8_signed.mod.py21 roi1 = Input("roi", "TENSOR_FLOAT32", "{4, 4}") variable
23 Model().Operation("ROI_ALIGN", i1, roi1, [0, 0, 0, 0], 2, 2, 2.0, 2.0, 4, 4, layout).To(o1)
27 roi1: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
39 roi1: [
/frameworks/ml/nn/common/operations/
DGenerateProposals.cpp174 float getIoUAxisAligned(const float* roi1, const float* roi2) { in getIoUAxisAligned() argument
175 const float area1 = (roi1[2] - roi1[0]) * (roi1[3] - roi1[1]); in getIoUAxisAligned()
177 const float x1 = std::max(roi1[0], roi2[0]); in getIoUAxisAligned()
178 const float x2 = std::min(roi1[2], roi2[2]); in getIoUAxisAligned()
179 const float y1 = std::max(roi1[1], roi2[1]); in getIoUAxisAligned()
180 const float y2 = std::min(roi1[3], roi2[3]); in getIoUAxisAligned()