class_docstr: The base behavior of a Pytorch trainer
  
  All runners should inherit `Trainer`` as the worker interface
  and implement the following APIs:
  
  - ``train_epochs``
  - ``validate``
  - ``predict``
class_docstr_tok: ["The","base","behavior","of","a","Pytorch","trainer","All","runners","should","inherit","`","Trainer","``","as","the","worker","interface","and","implement","the","following","APIs",":","-","``","train_epochs","``","-","``","validate","``","-","``","predict","``"]
code: def validate(self, **kwargs):
      pass
  
imports: from abc import abstractmethod, ABCMeta
label_desc: Use image node_id 3 for calling the Trainable obj's underlying member method code with example usage: obj.validate() without return types