variance = torch.clip(variance, 1e-6, 1e6) return ((observation - self.running_mean) / variance.sqrt()).clip(-5, 5) @torch.jit.export
確定! 回上一頁