Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. c = 2
  2. input_array = np.array([[1, 2],
  3. [3, 4]])
  4.  
  5. # Upscaling operation ...
  6.  
  7. print(output_array)
  8. >>> [[1, 1, 2, 2],
  9. [1, 1, 2, 2],
  10. [3, 3, 4, 4],
  11. [3, 3, 4, 4]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement