Hessian vector products in symbolic


Is there a way to obtain a hessian vector product (something like _hessian_vector_product() from tensorflow) using a symbolic framework? In particular, I would like to make backward pass as a part of a computational graph.

I noticed that there is a way how to do it imperatively but also that even in this case not all operators support a double backward pass.