code: def __init__(self, k: int) -> None:
      self.k = k
  
file_path: ReAgent/reagent/gym/policies/samplers/top_k_sampler.py
imports: import reagent.core.types
  import torch
  from reagent.gym.types import Sampler
label_desc: Use image node_id 1 to create a new TopKSampler object from inherited base classes: Sampler with example: obj = TopKSampler(k)