class_docstr: Base class for perceptual loss model.
class_docstr_tok: ["Base","class","for","perceptual","loss","model","."]
docstr: Computes features from the given image tensor.
  
  Args:
    img: Image tensor.
  
  Returns:
    A list of multi-scale feature maps.
docstr_tok: ["Computes","features","from","the","given","image","tensor",".","Args",":","img",":","Image","tensor",".","Returns",":","A","list","of","multi-scale","feature","maps","."]
code: def _compute_features(self, img: tf.Tensor) -> Sequence[tf.Tensor]:
      """Computes features from the given image tensor.
  
      Args:
        img: Image tensor.
  
      Returns:
        A list of multi-scale feature maps.
      """
  
imports: import abc
  from typing import Mapping, Sequence
  import dataclasses
  from typing import Any, Optional
  import numpy
  import tensorflow
  from mediapipe.model_maker.python.core.utils import file_util
  from mediapipe.model_maker.python.core.utils import model_util
  from official.modeling import tf_utils
label_desc: Use image node_id 3 for calling the PerceptualLoss obj's underlying member method code with example usage: obj._compute_features(img) without return types