mdot function in common.py
This commit is contained in:
parent
c52d620817
commit
84281d284e
@ -195,3 +195,6 @@ def mosaic(w, imgs):
|
|||||||
def getsize(img):
|
def getsize(img):
|
||||||
h, w = img.shape[:2]
|
h, w = img.shape[:2]
|
||||||
return w, h
|
return w, h
|
||||||
|
|
||||||
|
def mdot(*args):
|
||||||
|
return reduce(np.dot, args)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user