Skip to content

Is it possible to create a subclass of TensorDictModule? #1214

Answered by vmoens
Roy-Kid asked this question in Q&A
Discussion options

You must be logged in to vote

You should inherit from TensorDictModuleBase for anything with a TensorDict -> TensorDict signature!
(I should fix the docstrings of that thing btw!)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Roy-Kid
Comment options

Answer selected by Roy-Kid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants