Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@insert_docs(Manifold.transp_follow_expmap.__doc__, r"\s+x : .+\n.+", "")
def transp_follow_expmap(
self, u: torch.Tensor, v: torch.Tensor, **kwargs
) -> torch.Tensor:
return self.manifold.transp_follow_expmap(self, u, v, **kwargs)
@insert_docs(Manifold.retr.__doc__, r"\s+x : .+\n.+", "")
def retr(self, u: torch.Tensor, **kwargs) -> torch.Tensor:
return self.manifold.retr(self, u=u, **kwargs)
@insert_docs(Manifold.retr_transp.__doc__, r"\s+x : .+\n.+", "")
def retr_transp(self, u: torch.Tensor, v: torch.Tensor, **kwargs) -> Tuple[torch.Tensor, torch.Tensor]:
return self.manifold.retr_transp(self, u, v, **kwargs)
@insert_docs(Manifold.transp.__doc__, r"\s+x : .+\n.+", "")
def transp(self, y: torch.Tensor, v: torch.Tensor, **kwargs) -> torch.Tensor:
return self.manifold.transp(self, y, v, **kwargs)
@insert_docs(Manifold.transp_follow_retr.__doc__, r"\s+x : .+\n.+", "")
def transp_follow_retr(
self, u: torch.Tensor, v: torch.Tensor, **kwargs
) -> torch.Tensor:
return self.manifold.transp_follow_retr(self, u, v, **kwargs)
@insert_docs(Manifold.unpack_tensor.__doc__, r"\s+tensor : .+\n.+", "")
def unpack_tensor(self) -> Union[torch.Tensor, Tuple[torch.Tensor]]:
return self.manifold.unpack_tensor(self)
@insert_docs(Manifold.inner.__doc__, r"\s+x : .+\n.+", "")
def inner(self, u: torch.Tensor, v: torch.Tensor = None, **kwargs) -> torch.Tensor:
return self.manifold.inner(self, u=u, v=v, **kwargs)
@insert_docs(Manifold.expmap.__doc__, r"\s+x : .+\n.+", "")
def expmap(self, u: torch.Tensor, **kwargs) -> torch.Tensor:
return self.manifold.expmap(self, u=u, **kwargs)
@insert_docs(Manifold.logmap.__doc__, r"\s+x : .+\n.+", "")
def logmap(self, y: torch.Tensor, **kwargs) -> torch.Tensor:
return self.manifold.logmap(self, y, **kwargs)
@insert_docs(Manifold.expmap_transp.__doc__, r"\s+x : .+\n.+", "")
def expmap_transp(self, u: torch.Tensor, v: torch.Tensor, **kwargs) -> Tuple[torch.Tensor, torch.Tensor]:
return self.manifold.expmap_transp(self, u, v, **kwargs)