Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class model(...):
- def __init__(self):
- self.dense = [Dense() for i in range(n)]
- def forward(self, input):
- x = input
- for d in self.dense:
- x = d(x)
- x = x + input
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement