Before revision:  We use the robust DTM function and show differentiability with respect to layer inputs, for a general persistent homology with arbitrary filtration.
After revision:  We show differentiability with respect to layer inputs, for a general persistent homology with arbitrary filtration.