MCPcopy Create free account
hub / github.com/alibaba/MNN / _RasterRaw

Function _RasterRaw

express/NeuralNetWorkOp.cpp:1851–1855  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1849 return (Variable::create(expr));
1850}
1851VARP _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
1857VARP _Nms(VARP boxes, VARP scores, int maxDetections, float iouThreshold, float scoreThreshold) {
1858 std::unique_ptr<MNN::OpT> op(new MNN::OpT);

Callers 6

onGradMethod · 0.85
runMethod · 0.85
_runMethod · 0.85
_runMethod · 0.85
_runMethod · 0.85
_runMethod · 0.85

Calls 2

convertFormatFunction · 0.85
createFunction · 0.50

Tested by 5

runMethod · 0.68
_runMethod · 0.68
_runMethod · 0.68
_runMethod · 0.68
_runMethod · 0.68