Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/espnet/espnet
/ __init__
Method
__init__
espnet2/gan_codec/shared/decoder/seanet_2d.py:256–258 ·
view source on GitHub ↗
(self, dim=2)
Source
from the content-addressed store, hash-verified
254
255
class
ReshapeModule(nn.Module):
256
def
__init__(self, dim=2):
257
super().__init__()
258
self.dim = dim
259
260
def
forward(self, x):
261
return
torch.unsqueeze(x, dim=self.dim)
Callers
4
__init__
Method · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected