def tensordot(a, b, axes=2):
 return _tensordot_as_dot(a, b, axes, dot=dot, batched=False)

def tensordot ( a , b , axes = 2 ) : return _tensordot_as_dot ( a , b , axes , dot = dot , batched = False )
compute a generalized dot product over provided axes .