In my case, I need to implement an exponential operation in the formula for the constrains, but when I try it with the np.exp() function or similar, I obtain messages like "MLPFunctional has no callable exp method".
Is there any way to include an exp function in the constraints? Thank you
Hi all, I would like to use SciANN to build a model learning from data and some constrains included in the loss function. I am following the example about the Navier-Stokes problem (https://github.com/sciann/sciann-applications/blob/master/SciANN-NavierStokes/SciANN-NavierStokes.ipynb).
In the Navier-Stokes problem, constrains are linear expressions defined as
In my case, I need to implement an exponential operation in the formula for the constrains, but when I try it with the np.exp() function or similar, I obtain messages like "MLPFunctional has no callable exp method".
Is there any way to include an exp function in the constraints? Thank you