Skip to content

Commit

Permalink
Polish documents.
Browse files Browse the repository at this point in the history
  • Loading branch information
zjowowen committed Jun 21, 2024
1 parent 71d75b9 commit 533b3e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/api_doc/neural_network/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ DiT

DiT1D
------
.. autoclass:: DiT2D
.. autoclass:: DiT1D
:special-members: __init__
:members:

Expand Down
1 change: 1 addition & 0 deletions grl/agents/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ def action_transform(action, return_as_torch_tensor: bool = False):

from .base import BaseAgent
from .qgpo import QGPOAgent
from .srpo import SRPOAgent
from .gm import GPAgent
2 changes: 1 addition & 1 deletion grl/neural_network/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def forward(
return result


from .transformers.dit import DiT, DiT1D, DiT3D
from .transformers.dit import DiT, DiT1D, DiT2D, DiT3D


class Sequential(nn.Module):
Expand Down

0 comments on commit 533b3e7

Please sign in to comment.