Ejemplo n.º 1
0
def test_arctanh(t: Tensor) -> Tensor:
    return ep.arctanh((t - t.mean()) / t.max())
Ejemplo n.º 2
0
 def mean(self, tag: str, x: ep.Tensor, step: int) -> None:
     self.writer.add_scalar(tag, x.mean(axis=0).item(), step)