MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / __init__

Method __init__

imperative/python/megengine/module/rnn.py:183–184  ·  view source on GitHub ↗
(self, input_size: int, hidden_size: int, bias: bool = True,)

Source from the content-addressed store, hash-verified

181 """
182
183 def __init__(self, input_size: int, hidden_size: int, bias: bool = True,) -> None:
184 super(LSTMCell, self).__init__(input_size, hidden_size, bias, num_chunks=4)
185
186 def forward(
187 self, input: Tensor, hx: Optional[Tuple[Tensor, Tensor]] = None

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected