Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It seems like it's bug in documentation and sample code. There are no overloaded operators +,-,+=,etc for GpuMat.

Use gpu::subtract(b.sigma1_2, b.mu1_2, b.sigma1_2, stream);