SHARE
TWEET

Untitled

a guest Aug 20th, 2017 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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]]
RAW Paste Data
Top