/dports/misc/mnn/MNN-1.2.0/test/op/ |
H A D | CropAndResizeTest.cpp | 22 auto box_ind = _Input({boxNum}, NHWC, halide_type_of<uint32_t>()); in run() local 32 box_ind->writeMap<uint32_t>()[0] = 1; in run() 33 box_ind->writeMap<uint32_t>()[1] = 0; in run() 36 …auto output = _CropAndResize(img, boxes, box_ind, crop_size, BILINEAR); in run()
|
/dports/misc/mnn/MNN-1.2.0/pymnn/pip_package/MNN/expr/ |
H A D | __init__.py | 423 def crop_and_resize(image, boxes, box_ind, crop_size, method=BILINEAR, extrapolation_value=0.): argument 426 box_ind = _to_var(box_ind, to_float=False) 432 if not isinstance(box_ind, Var): 438 if boxes.dtype != _F.int or box_ind.dtype != _F.int or crop_size.dtype != _F.int: 442 if len(box_ind.shape) != 1 or box_ind.shape[-1] != boxes.shape[0]: 446 return _F.crop_and_resize(image, boxes, box_ind, crop_size, method, extrapolation_value)
|
/dports/misc/mnn/MNN-1.2.0/backupcode/geometry/ |
H A D | GeometryCropAndResize.cpp | 22 auto box_ind = inputs[2]; in onCompute() local 45 const int ind = box_ind->host<uint32_t>()[i]; in onCompute()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/topi/python/ |
H A D | test_topi_image.py | 199 box_ind = te.placeholder(np_box_indices.shape, name="box_ind", dtype="int32") 215 box_ind, 234 f = tvm.build(s, [images, boxes, box_ind, out], device, name="crop_and_resize")
|
/dports/graphics/tesseract/tesseract-5.0.0/src/training/pango/ |
H A D | boxchar.cpp | 313 for (int i = start_box, box_ind = 0; i < end_box; ++i) { in RotateBoxes() local 316 (*boxes)[i]->box_ = boxaGetBox(rotated, box_ind++, L_CLONE); in RotateBoxes()
|
/dports/misc/mnn/MNN-1.2.0/include/MNN/expr/ |
H A D | NeuralNetWorkOp.hpp | 87 MNN_PUBLIC VARP _CropAndResize(VARP image, VARP boxes, VARP box_ind, VARP crop_size,
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/python/tvm/relay/frontend/ |
H A D | tensorflow.py | 364 box_ind = _get_list_param(params, inputs[2]) 368 box_ind = _infer_value(inputs[2], params).asnumpy().tolist() 388 for idx in box_ind:
|
/dports/misc/tvm/incubator-tvm-0.6.1/python/tvm/relay/frontend/ |
H A D | tensorflow.py | 364 box_ind = _get_list_param(params, inputs[2]) 368 box_ind = _infer_value(inputs[2], params).asnumpy().tolist() 388 for idx in box_ind:
|
/dports/misc/mnn/MNN-1.2.0/express/ |
H A D | NeuralNetWorkOp.cpp | 852 VARP _CropAndResize(VARP image, VARP boxes, VARP box_ind, VARP crop_size, InterpolationMethod metho… in _CropAndResize() argument 867 return (Variable::create(Expr::create(std::move(car), {image, boxes, box_ind, crop_size}))); in _CropAndResize()
|
/dports/misc/mnn/MNN-1.2.0/pymnn/src/ |
H A D | MNN.cc | 2967 …[](VARP image, VARP boxes, VARP box_ind, VARP crop_size, InterpolationMethod method, float extrapo… in MOD_INIT_FUNC() argument 2968 … return _CropAndResize(image, boxes, box_ind, crop_size, method, extrapolation_value); in MOD_INIT_FUNC()
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/tests/python/frontend/tensorflow/ |
H A D | test_forward.py | 1565 tf.image.crop_and_resize(in_data, boxes=boxes, box_ind=box_idx, crop_size=crop_size,
|
/dports/misc/tvm/incubator-tvm-0.6.1/tests/python/frontend/tensorflow/ |
H A D | test_forward.py | 1565 tf.image.crop_and_resize(in_data, boxes=boxes, box_ind=box_idx, crop_size=crop_size,
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/frontend/tensorflow/ |
H A D | test_forward.py | 2390 box_ind=box_idx,
|