sinusoidal representation networks or SIRENs

10 visualizaciones (últimos 30 días)
MAHSA YOUSEFI
MAHSA YOUSEFI el 31 de En. de 2025
Editada: Shantanu Dixit el 17 de Feb. de 2025
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.

Respuestas (1)

Shantanu Dixit
Shantanu Dixit el 17 de Feb. de 2025
Editada: Shantanu Dixit el 17 de Feb. de 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!

Categorías

Más información sobre Deep Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by