MCPcopy Create free account
hub / github.com/deepbrainai-research/float / __repr__

Method __repr__

models/float/encoder.py:102–106  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

100 return F.conv2d(input, self.weight * self.scale, bias=self.bias, stride=self.stride, padding=self.padding)
101
102 def __repr__(self):
103 return (
104 f'{self.__class__.__name__}({self.weight.shape[1]}, {self.weight.shape[0]},'
105 f' {self.weight.shape[2]}, stride={self.stride}, padding={self.padding})'
106 )
107
108
109class EqualLinear(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected