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

Method __init__

models/float/encoder.py:74–77  ·  view source on GitHub ↗
(self, negative_slope=0.2)

Source from the content-addressed store, hash-verified

72
73class ScaledLeakyReLU(nn.Module):
74 def __init__(self, negative_slope=0.2):
75 super().__init__()
76
77 self.negative_slope = negative_slope
78
79 def forward(self, input):
80 return F.leaky_relu(input, negative_slope=self.negative_slope)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected