-
Notifications
You must be signed in to change notification settings - Fork 15
Improve API reference detail and coverage #252
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,11 +3,21 @@ | |
|
|
||
| .. automodule:: embodichain.agents.rl.algo | ||
|
|
||
| Overview | ||
| -------- | ||
|
|
||
| Algorithm registry and algorithm-construction helpers for RL training. | ||
|
|
||
|
|
||
| .. rubric:: Functions | ||
|
|
||
| .. autosummary:: | ||
|
|
||
| build_algo | ||
| get_registered_algo_names | ||
|
|
||
| .. automodule:: embodichain.agents.rl.algo | ||
| :members: | ||
| :undoc-members: | ||
|
Comment on lines
4
to
+21
|
||
| :show-inheritance: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| embodichain.agents.rl.collector | ||
| ================================ | ||
|
|
||
| .. automodule:: embodichain.agents.rl.collector | ||
|
|
||
| Overview | ||
| -------- | ||
|
|
||
| Collectors are responsible for interacting with vectorized environments and | ||
| assembling rollout data into a preallocated ``TensorDict`` layout. | ||
|
|
||
| .. rubric:: Classes | ||
|
|
||
| .. autosummary:: | ||
|
|
||
| BaseCollector | ||
| SyncCollector | ||
|
|
||
| .. currentmodule:: embodichain.agents.rl.collector | ||
|
|
||
| BaseCollector | ||
| ------------- | ||
|
|
||
| .. autoclass:: BaseCollector | ||
| :members: | ||
| :show-inheritance: | ||
|
|
||
| SyncCollector | ||
| ------------- | ||
|
|
||
| .. autoclass:: SyncCollector | ||
| :members: | ||
| :show-inheritance: |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,11 @@ | |
|
|
||
| .. automodule:: embodichain.agents.rl.models | ||
|
|
||
| Overview | ||
| -------- | ||
|
|
||
| Policy-network registration and model construction APIs for RL agents. | ||
|
|
||
|
|
||
| .. rubric:: Functions | ||
|
|
||
|
|
@@ -13,4 +18,9 @@ | |
| get_policy_class | ||
| get_registered_policy_names | ||
| register_policy | ||
|
Comment on lines
11
to
20
|
||
|
|
||
| .. automodule:: embodichain.agents.rl.models | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
Comment on lines
4
to
+25
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,11 @@ | |
|
|
||
| .. automodule:: embodichain.agents.rl.train | ||
|
|
||
| Overview | ||
| -------- | ||
|
|
||
| Training entry points and command-line helpers for launching RL experiments. | ||
|
|
||
|
|
||
| .. rubric:: Functions | ||
|
|
||
|
|
@@ -11,4 +16,9 @@ | |
| main | ||
| parse_args | ||
| train_from_config | ||
|
Comment on lines
11
to
18
|
||
|
|
||
| .. automodule:: embodichain.agents.rl.train | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
Comment on lines
4
to
+23
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,6 +48,7 @@ Reinforcement Learning | |
|
|
||
| algo | ||
| buffer | ||
| collector | ||
| models | ||
| train | ||
| utils | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| embodichain.data | ||
| ================ | ||
|
|
||
| .. automodule:: embodichain.data | ||
|
|
||
| Data Package Overview | ||
| --------------------- | ||
|
|
||
| The ``embodichain.data`` package centralizes dataset resolution and asset download | ||
| helpers used by simulation tasks and training pipelines. | ||
|
|
||
| .. rubric:: Submodules | ||
|
|
||
| .. autosummary:: | ||
|
|
||
| constants | ||
| dataset | ||
| download | ||
| enum | ||
|
|
||
| Constants | ||
| --------- | ||
|
|
||
| .. automodule:: embodichain.data.constants | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
|
||
| Dataset Resolution | ||
| ------------------ | ||
|
|
||
| .. automodule:: embodichain.data.dataset | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
|
||
| Asset Download CLI | ||
| ------------------ | ||
|
|
||
| .. automodule:: embodichain.data.download | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
|
||
| Enums | ||
| ----- | ||
|
|
||
| .. automodule:: embodichain.data.enum | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
.. rubric:: Functions/.. autosummary::block is indented even though it is not inside another directive’s content. In reStructuredText this indentation makes it a block quote, which can lead to odd formatting and/or docutils warnings. Unindent these directives to column 0 (or intentionally nest them under theautomoduledirective, but then theOverviewsection would need to be structured accordingly).