Paste Search Dynamic
Recent pastes
numpy as np
  1. import numpy as np
  2. def aa():
  3.         a = np.ones((40,40,40))
  4.         b = np.pad(a,((4, 4), (4, 4),(4,4)), 'constant')
  5.         print("Shape:", np.shape(b))
  6.         print("Hello :",b)
  7.  
  8.  
  9. if __name__ == '__main__':
  10.     aa()
Parsed in 0.003 seconds