MCPcopy Create free account
hub / github.com/pytorch/executorch / __init__

Method __init__

test/models/export_program.py:119–122  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

117
118class ModuleDynamicCatUnallocatedIO(nn.Module):
119 def __init__(self):
120 super(ModuleDynamicCatUnallocatedIO, self).__init__()
121 # TODO(T163238401)
122 self._inputs = (torch.randn(3, 4),)
123
124 def forward(self, k):
125 k = torch.cat((k, torch.ones(1, 4)))

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected