Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Fix observation normalization for non contiguous tensors#3

Open
romgenie wants to merge 1 commit into
mainfrom
codex/replace-view-with-reshape-or-contiguous-view
Open

Fix observation normalization for non contiguous tensors#3
romgenie wants to merge 1 commit into
mainfrom
codex/replace-view-with-reshape-or-contiguous-view

Conversation

@romgenie
Copy link
Copy Markdown
Contributor

@romgenie romgenie commented Aug 4, 2025

Summary

  • use reshape instead of view when flattening observations to support non-contiguous tensors
  • add unit test covering non-contiguous observation batches

Testing

  • pytest -q test_normalization.py

https://chatgpt.com/codex/tasks/task_e_6891423402808327809395e6229eda0e

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant