Skip to content

Instantly share code, notes, and snippets.

@salehjg
Created January 20, 2019 10:49
Show Gist options
  • Save salehjg/de7d8230d3310bf05e649bf2a3209b4b to your computer and use it in GitHub Desktop.
Save salehjg/de7d8230d3310bf05e649bf2a3209b4b to your computer and use it in GitHub Desktop.
import numpy as np
a = np.zeros(shape=[33052, 10225], dtype=np.float32)
b = np.zeros(shape=[7086, 10225], dtype=np.float32)
print "Shape_a: ", a.shape
print "Shape_b: ", b.shape
print "\nProcessing..."
c = np.concatenate([a,b],axis=0)
print "Finished."
print "\nShape_result: ", c.shape
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment