code: def motion_blur(tens: Tensor, kernel) -> Tensor:
      return cv.filter2D(tens, ddepth=-1, kernel=kernel)
  
imports: import cv2
  import numpy
  from ..coreten import Tensor
label_desc: Use image node_id 4 for calling a global function with example usage: motion_blur(tens, kernel) and returns: cv