SHARE
TWEET

Untitled

a guest Jun 18th, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.     # ...
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top