class_docstr: Detect edges in a given image using a CNN.
  
  By default, it uses the method described in :cite:`xsoria2020dexined`.
  
  Return:
      A tensor of shape :math:`(B,1,H,W)`.
  
  Example:
      >>> img = torch.rand(1, 3, 320, 320)
      >>> detect = EdgeDetector()
      >>> out = detect(img)
      >>> out.shape
      torch.Size([1, 1, 320, 320])
code: def preprocess(self, image: Tensor) -> Tensor:
      return image
  
file_path: kornia/kornia/contrib/edge_detection.py
imports: from typing import List
  from kornia.core import Module, Tensor
  from kornia.core.check import KORNIA_CHECK_SHAPE
  from kornia.filters.dexined import DexiNed
label_desc: Use image node_id 3 for calling the EdgeDetector obj's underlying member method code with example usage: obj.preprocess(image) and returns: image