code: def __init__(
      self,
      checkpoint_path,
      layer=2,
      use_encoder_layer=False,
      norm_features=False,
      max_chunk=64000,
      **kwargs,
  ):
      super().__init__()
  
      self.model = self.load_cpc_model(checkpoint_path, layer).eval()
      self.max_chunk = max_chunk
      self.norm_features = norm_features
      self.use_encoder_layer = use_encoder_layer
  
imports: import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 1 to create a new CpcFeatureReader object from inherited base classes: torch.nn with example: obj = CpcFeatureReader(checkpoint_path, layer, use_encoder_layer, norm_features, max_chunk)