You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, calculateValue and calculateGrad are separately implemented. This approach is better in code readability. However, these two calculations often have some common calculations. This is redundant. By simultaneously implementing these two functionalities as a single function, the performance could be improved in some cases.
The text was updated successfully, but these errors were encountered:
Currently,
calculateValue
andcalculateGrad
are separately implemented. This approach is better in code readability. However, these two calculations often have some common calculations. This is redundant. By simultaneously implementing these two functionalities as a single function, the performance could be improved in some cases.The text was updated successfully, but these errors were encountered: