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

Add LambdaCallback #5343

Closed
marload opened this issue Jan 4, 2021 · 3 comments · Fixed by #5347
Closed

Add LambdaCallback #5343

marload opened this issue Jan 4, 2021 · 3 comments · Fixed by #5347
Assignees
Labels
feature Is an improvement or enhancement help wanted Open to be worked on
Milestone

Comments

@marload
Copy link
Contributor

marload commented Jan 4, 2021

🚀 Feature

Add LambdaCallback for quick and easy callback creation.

Motivation

Previously, we had to make a callback class in order to make a callback. However, Lambda Callback makes it easy to create a simple Callback without declaring a Class. TensorFlow officially provides this callback, which can be used very efficiently.

https://www.tensorflow.org/api_docs/python/tf/keras/callbacks/LambdaCallback

Pitch

Add a new callback, LambdaCallback

Alternatives

Additional context

@marload marload added feature Is an improvement or enhancement help wanted Open to be worked on labels Jan 4, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Jan 4, 2021

Hi! thanks for your contribution!, great first issue!

@marload
Copy link
Contributor Author

marload commented Jan 4, 2021

If this feature is considered useful, I'm going to contribute.

@tchaton
Copy link
Contributor

tchaton commented Jan 4, 2021

Hey @marload,

Yes, it would definitely be a great addition. Let's follow Keras API as it is pretty intuitive !
Feel free to submit a PR and ping me as reviewer.

Best,
T.C

@tchaton tchaton modified the milestones: 1.2.x, 1.2 Jan 4, 2021
@marload marload mentioned this issue Jan 4, 2021
12 tasks
@marload marload closed this as completed Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Is an improvement or enhancement help wanted Open to be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants