Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. class MaxPool2:
  2. # ...
  3.  
  4. def forward(self, input):
  5. '''
  6. Performs a forward pass of the maxpool layer using the given input.
  7. Returns a 3d numpy array with dimensions (h / 2, w / 2, num_filters).
  8. - input is a 3d numpy array with dimensions (h, w, num_filters)
  9. '''
  10. self.last_input = input
  11.  
  12. # More implementation
  13. # ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement