MCPcopy Create free account
hub / github.com/Standard-Intelligence/hertz-dev / forward

Method forward

tokenizer.py:127–130  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

125 self.stride = stride
126 self.pad_length = (kernel_size - 1) * dilation
127 def forward(self, x):
128 pad = nn.ConstantPad1d((self.pad_length, 0), 0.0)
129 x = pad(x)
130 return self.conv(x)
131
132
133class CausalConvTranspose1d(NonCausalConvTranspose1d):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected