Find the gradient of $cf(x^Tg(z))$ with respect to x

28 Views Asked by At

As I understand it should be something like this:

$$\dfrac{\partial y}{\partial x}=(cf'g(z))^T$$

but I saw that

$$(g(z)cf')^T$$

Which one is correct? maybe none..