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

Provide implementations of ToTensor for common data types #20

Open
benbaarber opened this issue Jun 20, 2024 · 1 comment
Open

Provide implementations of ToTensor for common data types #20

benbaarber opened this issue Jun 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@benbaarber
Copy link
Owner

Right now, implementing ToTensor looks a bit hairy. Down the road, I will want to make this simpler, but a good intermediate step is to provide implementations for a couple common state/action data types.

@benbaarber benbaarber added the enhancement New feature or request label Jun 20, 2024
@benbaarber benbaarber added this to rl Jun 20, 2024
@benbaarber benbaarber moved this to Todo in rl Jun 20, 2024
@benbaarber benbaarber moved this from Todo to In Progress in rl Jun 27, 2024
@benbaarber
Copy link
Owner Author

Added blanket implementations for T where T: Into<Data>, as well as Vec<E> and Vec<[E; A]>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant