class_docstr: Create a callback with some lambdas.
class_docstr_tok: ["Create","a","callback","with","some","lambdas","."]
code: def _after_train(self):
      if self._cb_after_train:
          self._cb_after_train(self)
  
imports: from abc import ABCMeta
  import six
  from ..compat import tfv1
  from ..tfutils.common import get_op_or_tensor_by_name
label_desc: Use image node_id 5 for calling the CallbackFactory obj's underlying member method code with example usage: obj._after_train() without return types