Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A function that calculates both gradient and cost #563

Open
npuers opened this issue Feb 6, 2025 · 1 comment
Open

A function that calculates both gradient and cost #563

npuers opened this issue Feb 6, 2025 · 1 comment

Comments

@npuers
Copy link

npuers commented Feb 6, 2025

There are some repeated calculations in my cost and gradient. If I can merge the two traits CostFunction and Gradient into one and calculate gradient and cost at the same time, I can save half the running time. I hope to achieve this function!

@TheIronBorn
Copy link
Contributor

See also: #366

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants