Commit 84281d28 authored by Alexander Mordvintsev's avatar Alexander Mordvintsev

mdot function in common.py

parent c52d6208
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment