已知函数 f(x)=xex−me2xf\left( x\right) = x{\mathrm{e}}^{x} - m{\mathrm{e}}^{2x}f(x)=xex−me2x ,若 f(x)f\left( x\right)f(x) 存在最小值,且最小值为 2m\frac{2}{m}m2 ,则实数 mmm 的值为___