# Higher order derivatives in SameDiff

**URL:** https://community.konduit.ai/t/higher-order-derivatives-in-samediff/1877
**Category:** SameDiff
**Created:** [May 22, 2022, 5:49am UTC](https://community.konduit.ai/t/higher-order-derivatives-in-samediff/1877 "2022-05-22T05:49:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![valb3r](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/valb3r/32/754_2.png) [@valb3r](https://community.konduit.ai/u/valb3r)
#### Post date: [May 22, 2022, 5:49am UTC](https://community.konduit.ai/t/higher-order-derivatives-in-samediff/1877/1 "2022-05-22T05:49:08Z")

</div>

Hello, is it possible to generate higher order derivatives with SameDiff the same way as [torch.autograd.grad — PyTorch 1.12 documentation](https://pytorch.org/docs/stable/generated/torch.autograd.grad.html) with `create_graph` enabled does?
