MCPcopy Create free account
hub / github.com/TeleHuman/PBHC / __init__

Method __init__

humanoidverse/utils/inference_helpers.py:102–108  ·  view source on GitHub ↗

model: The original PyTorch model. input_keys: List of input names as keys for the input dictionary.

(self, actor)

Source from the content-addressed store, hash-verified

100
101 class PPOEncoderWrapper(nn.Module):
102 def __init__(self, actor):
103 """
104 model: The original PyTorch model.
105 input_keys: List of input names as keys for the input dictionary.
106 """
107 super(PPOEncoderWrapper, self).__init__()
108 self.actor = actor
109
110 def forward(self, inputs):
111 """

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected