code: def __init__(
      self,
      num_samples,
      epsilon,
      space,
      sampling,
      crop,
      minibatch_per_gpu,
      Gs_overrides,
      **kwargs,
  ):
      assert space in ["z", "w"]
      assert sampling in ["full", "end"]
      super().__init__(**kwargs)
      self.num_samples = num_samples
      self.epsilon = epsilon
      self.space = space
      self.sampling = sampling
      self.crop = crop
      self.minibatch_per_gpu = minibatch_per_gpu
      self.Gs_overrides = Gs_overrides
  
file_path: insightface/reconstruction/ostec/external/stylegan2/metrics/perceptual_path_length.py
imports: import numpy
  import tensorflow
  import dnnlib.tflib
  from metrics import metric_base
  from training import misc
label_desc: Use image node_id 1 to create a new PPL object from inherited base classes: metric_base with example: obj = PPL(num_samples, epsilon, space, sampling, crop, minibatch_per_gpu, Gs_overrides)