code: def get_coord_features(self, image, prev_mask, points):
      coord_features = self.dist_maps(
          image, points
      )  # [1, 2, 512, 512, 12]
  
      if prev_mask is not None:
          coord_features = paddle.concat(
              (prev_mask, coord_features), axis=1
          )  # [1, 3, 512, 512, 12]
  
      return coord_features
  
imports: import os
  import sys
  import logging
  import numpy
  from copy import deepcopy
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddle.inference import create_predictor, Config
  from inference.ops import DistMaps3D, ScaleLayer, BatchImageNormalize3D, SigmoidForPred
label_desc: Use image node_id 8 for calling the BasePredictor obj's underlying member method code with example usage: obj.get_coord_features(image, prev_mask, points) and returns: coord_features