MCPcopy Create free account
hub / github.com/ShiqiYu/libfacedetection / convolution4layerUnit

Function convolution4layerUnit

src/facedetectcnn.cpp:350–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348}
349
350bool convolution4layerUnit(CDataBlob<float> & inputData,
351 Filters<float> & filtersP1, Filters<float> & filtersD1,
352 Filters<float> & filtersP2, Filters<float> & filtersD2,
353 CDataBlob<float> & outputData, bool do_relu)
354{
355 CDataBlob<float> tmp;
356 bool r1 = convolutionDP(inputData, filtersP1, filtersD1, tmp, true);
357 bool r2 = convolutionDP(tmp, filtersP2, filtersD2, outputData, do_relu);
358 return r1 && r2;
359}
360
361
362//only 2X2 S2 is supported

Callers 1

objectdetect_cnnFunction · 0.85

Calls 1

convolutionDPFunction · 0.85

Tested by

no test coverage detected