Skip to content

Commit 958f84a

Browse files
committed
[Docs] add images
1 parent 854764c commit 958f84a

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

docs/_content/api/models/base.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Base Autoregressive Model
22

3+
4+
<img class="full-img" alt="policy" src="https://user-images.githubusercontent.com/48984123/281976545-ca88f159-d0b3-459e-8fd9-89799be9d1b0.png">
5+
6+
7+
38
## Policy
49

510
```{eval-rst}

docs/_content/api/models/env_embeddings.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Environment Embeddings
22

3+
In autoregressive policies, environment embeddings transfer data from feature space to hidden space:
4+
5+
- Initial Embeddings: encode global problem features
6+
- Context Embeddings: modify current node embedding during decoding
7+
- Dynamic Embeddings: modify all nodes embeddings during decoding
8+
9+
<img class="full-img" alt="policy" src="https://user-images.githubusercontent.com/48984123/281976545-ca88f159-d0b3-459e-8fd9-89799be9d1b0.png">
10+
11+
12+
13+
314
## Context Embeddings
415

516
The context embedding is used to modify the query embedding of the problem node of the current partial solution. Usually consists of a projection of gathered node embeddings and features to the embedding space.

docs/_content/api/models/zoo.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ Models from the literature and contributions are contained in the Model Zoo.
3434
:undoc-members:
3535
```
3636

37-
```{eval-rst}
38-
.. automodule:: rl4co.models.zoo.ppo.decoder
39-
:members:
40-
:undoc-members:
41-
```
4237

4338
## Heterogeneous Attention Model (HAM)
4439

@@ -134,11 +129,6 @@ Models from the literature and contributions are contained in the Model Zoo.
134129
:undoc-members:
135130
```
136131

137-
```{eval-rst}
138-
.. automodule:: rl4co.models.zoo.pomo.decoder
139-
:members:
140-
:undoc-members:
141-
```
142132

143133
## Pointer Network (PtrNet)
144134

0 commit comments

Comments
 (0)