MCPcopy Create free account
hub / github.com/apple/ml-pointersect / __repr__

Method __repr__

cdslib/core/nn/modules/subspace.py:65–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

63 nn.init.orthogonal_(self.weight, gain=init_norm)
64
65 def __repr__(self):
66 return (
67 f"Subspace({self.in_features}, {self.out_features}, "
68 f"normalize={self.normalize}, orthogonalize={self.orthogonalize})"
69 )
70
71 def forward(
72 self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected