Add missing shape
parameter to numpy methods
#1450
Merged
shape
parameter to numpy methods
#1450