class_docstr: This class allows users to add desired actions in specific time points
  during training or evaluation.
  
  :param priority: Priority in the printing, hooks with small priority will be printed in front
  :type priority: int
class_docstr_tok: ["This","class","allows","users","to","add","desired","actions","in","specific","time","points","during","training","or","evaluation",".",":","param","priority",":","Priority","in","the","printing",",","hooks","with","small","priority","will","be","printed","in","front",":","type","priority",":","int"]
docstr: Actions after running a testing iteration.
  
  Args:
     trainer (:class:`Trainer`): Trainer which is using this hook
     output (:class:`torch.Tensor`): Output of the model
     label (:class:`torch.Tensor`): Labels of the input data
     loss (:class:`torch.Tensor`): Loss between the output and input data
docstr_tok: ["Actions","after","running","a","testing","iteration",".","Args",":","trainer","(",":","class",":","`","Trainer","`",")",":","Trainer","which","is","using","this","hook","output","(",":","class",":","`","torch.Tensor","`",")",":","Output","of","the","model","label","(",":","class",":","`","torch.Tensor","`",")",":","Labels","of","the","input","data","loss","(",":","class",":","`","torch.Tensor","`",")",":","Loss","between","the","output","and","input","data"]
code: def after_test_iter(
      self, trainer, output: Tensor, label: Tensor, loss: Tensor
  ):
      """Actions after running a testing iteration.
  
      Args:
         trainer (:class:`Trainer`): Trainer which is using this hook
         output (:class:`torch.Tensor`): Output of the model
         label (:class:`torch.Tensor`): Labels of the input data
         loss (:class:`torch.Tensor`): Loss between the output and input data
      """
  
file_path: colossalai/colossalai/legacy/trainer/hooks/_base_hook.py
imports: from abc import ABC
  from torch import Tensor
label_desc: Use image node_id 14 for calling the BaseHook obj's underlying member method code with example usage: obj.after_test_iter(trainer, output, label, loss) without return types