This commit is contained in:
gouhanke
2026-02-09 14:41:35 +08:00
parent f833c6d9f1
commit 8b700b6d99
10 changed files with 76 additions and 39 deletions
+18
View File
@@ -0,0 +1,18 @@
from torch import nn
class IdentityStateEncoder(nn.Module):
def __init__(self):
super().__init__()
def forward(self, state):
return state
class IdentityActionEncoder(nn.Module):
def __init__(self):
super().__init__()
def forward(self, action):
return action