Spaces:
Runtime error
Runtime error
File size: 475 Bytes
37723db | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | import torch.nn as nn
class Generator(nn.Module):
def __init__(
self,
upsample_rates,
upsample_initial_channel,
resblock_kernel_sizes,
resblock_dilation_sizes,
resblock,
upsample_kernel_sizes,
inter_channels,
out_channels,
sampling_rate
):
super().__init__()
self.dummy = nn.Identity() # 実装は後で拡張可
def forward(self, x):
return self.dummy(x)
|