Suppose a function $f(x): \mathbb R^d \mapsto \mathbb R^D$, and its stochastic approximator, $g(x; W): \mathbb R^d \mapsto \mathbb R^D$. Here $W$ is some random variable. Then $g(x; W)$ is unbiased in the sense that $$\mathbb E_W [g(x;W)] = f(x),$$ for any $x$.
I think the following two are not equal, but how to prove it? $$\mathbb E_W\left[\frac{dg(x;W)}{dx}\right] \text{ vs. } \frac{df(x)}{dx}.$$