def batched_tensordot(x, y, axes=2):
 return _tensordot_as_dot(x, y, axes, dot=batched_dot, batched=True)

def batched_tensordot ( x , y , axes = 2 ) : return _tensordot_as_dot ( x , y , axes , dot = batched_dot , batched = True )
compute a batched tensordot product .