def _default_embed_callback(tensor, var): logger.info('embed for {}, access by tensor and var'.format(tensor.name)) from IPython import embed embed()