Advertisement
Guest User

Untitled

a guest
Feb 17th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. class model(...):
  2.     def __init__(self):
  3.        self.dense = [Dense() for i in range(n)]
  4.     def forward(self, input):
  5.        x = input
  6.        for d in self.dense:
  7.            x = d(x)
  8.        x = x + input
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement