mdot function in common.py

pull/2/head
Alexander Mordvintsev 13 years ago
parent c52d620817
commit 84281d284e
  1. 3
      samples/python2/common.py

@ -195,3 +195,6 @@ def mosaic(w, imgs):
def getsize(img):
h, w = img.shape[:2]
return w, h
def mdot(*args):
return reduce(np.dot, args)

Loading…
Cancel
Save