ehsanhaghighat / sciann

Deep learning for Engineers - Physics Informed Deep Learning
htttp://sciann.com
Other
325 stars 116 forks source link

Can I perform rounding operation #92

Open chenzhaoxingxin opened 1 year ago

chenzhaoxingxin commented 1 year ago

Dear author: Hello!When calculating the following equation, I solve for positions x and z based on the variable t, and the speed of the model I need is also related to the variables x and z. I need to use the velocity values in the model. but the calculated positions x and z are often decimals and require rounding operations. image

However, when I use functions such as np. round for operations, it cannot be applied to functional. So, I would like to ask if there are built-in functions that can be rounded in version 0.7.0.1. If not, how can I perform the operation to achieve it?

Thank you for taking the time to check my email. Wishing you good health and a happy life. Looking forward to your reply!