sinusoidal representation networks or SIRENs
11 views (last 30 days)
Show older comments
Hi there!
I am wondering if there is the matlab code (in DL toolbox with dlnetwork object) for sinusoidal representation networks or SIRENs which are suitable for solving PDEs in the frame of PINNs. The activation function of an SIREN in "sine" function, this activation layer has not been built in Matlab. I'm trying to use "functionLayer" for this goal. Now, I don't know if I need the property "Formattable=true" as an input argument.
Thanks for any help.
0 Comments
Answers (1)
Shantanu Dixit
on 17 Feb 2025
Edited: Shantanu Dixit
on 17 Feb 2025
Hi Mahsa,
You can set the "Formattable" property to true if the sine activation layer needs to operate on formatted 'dlarray' objects. This ensures that the functionLayer both accepts and outputs data with the proper dimension labels.
You can refer to the usage of 'Formattable' property in 'functionLayer': https://www.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.functionlayer.html#mw_4c41e9fe-dbcc-4018-be23-465e7d10da16 for more details.
Hope this helps!
0 Comments
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!