ObsEncoder¶
- class torchrl.modules.ObsEncoder(channels=32, num_layers=4, depth=None)[來源]¶
觀察編碼器網路。
取得像素觀察並將其編碼為潛在空間。
參考: https://arxiv.org/abs/1803.10122
- 參數:
channels (int, optional) – 第一層中的隱藏單元數。預設為 32。
num_layers (int, optional) – 網路深度。預設為 4。
觀察編碼器網路。
取得像素觀察並將其編碼為潛在空間。
參考: https://arxiv.org/abs/1803.10122
channels (int, optional) – 第一層中的隱藏單元數。預設為 32。
num_layers (int, optional) – 網路深度。預設為 4。