Skip to content

[gym] Use of optimised utility fonction build_flatten and jiminy_py.tree.flatten don't give me exactly the same outputs #796

Closed Answered by duburcqa
mwulfman asked this question in Q&A
Discussion options

You must be logged in to vote

I understand there's a clip operation between obs and env.observation, is there anything else?

There is no other difference. (Besides being a copy rather than a reference, to make sure that the user can store the returned observation without asking itself whether or not it must be copied first).

I think my question is more how do I use build_flatten + any other need operation if they exist to do what I am trying to achieve.

I don't understand what you mean. You can use more generic utilities such as build_reduce or build_map. All the others are just derived from them.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@duburcqa
Comment options

@mwulfman
Comment options

@duburcqa
Comment options

Answer selected by mwulfman
@mwulfman
Comment options

@duburcqa
Comment options

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