The $(1, 2)$-mixed norm of some matrix $X\in \mathbb{R}^{m \times n}$ is defined as
$$\| X \|_{1,2} = \sum_{j=1}^m \|x_{i,*}\|_2$$
where $x_{i,*}$ denotes the $i^{\text{th}}$ row of $X$. I am trying to find $$\frac{\partial}{\partial X} \|X\|_{1,2}$$ but am confused how to go about this. Does anyone know what this reduces to? I have already consulted the matrix cookbook.
I worked it out and it turns out to be a matrix of dimensions $m \times n$ such that the $i^{\text{th}}$ row equals $\frac{x_{i,*}}{||x_{i,*}||}$. For my purposes, I need to write this result in terms of $X$ and not its rows, but I don't know how.