code: def on_valid_epoch_end(self, tez_trainer):
      if tez_trainer.config.val_strategy == "epoch":
          return
      self.check(tez_trainer)
  
file_path: tez/tez/callbacks/early_stopping.py
imports: import numpy
  from accelerate.logging import get_logger
  from tez import enums
  from tez.callbacks import Callback
  from tez.logger import logger
label_desc: Use image node_id 3 for calling the EarlyStopping obj's underlying member method code with example usage: obj.on_valid_epoch_end(tez_trainer) without return types