# How to define laplacian in Flux or Zygote?

**URL:** <https://discourse.julialang.org/t/how-to-define-laplacian-in-flux-or-zygote/44121>\
**Category:** Machine Learning\
**Created:** [August 2, 2020, 7:05am UTC](https://discourse.julialang.org/t/how-to-define-laplacian-in-flux-or-zygote/44121 "2020-08-02T07:05:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeepQ](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@DeepQ](https://discourse.julialang.org/u/DeepQ)\
**Post date:** [August 2, 2020, 7:05am UTC](https://discourse.julialang.org/t/how-to-define-laplacian-in-flux-or-zygote/44121/1 "2020-08-02T07:05:21Z")

</div>

I want to solve a PDE using a neural network and I need to calculate the laplacian of my network.
