| 1849 | return (Variable::create(expr)); |
| 1850 | } |
| 1851 | VARP _RasterRaw(const std::vector<VARP>& vars, const std::vector<int>& region, const std::vector<int>& shape, halide_type_t dataType, Dimensionformat eformat) { |
| 1852 | auto format = Utils::convertFormat(eformat); |
| 1853 | auto expr = Utils::makeRaster(vars, region, shape, dataType, (MNN_DATA_FORMAT)format); |
| 1854 | return (Variable::create(expr)); |
| 1855 | } |
| 1856 | |
| 1857 | VARP _Nms(VARP boxes, VARP scores, int maxDetections, float iouThreshold, float scoreThreshold) { |
| 1858 | std::unique_ptr<MNN::OpT> op(new MNN::OpT); |