code: def my_scalar_2() -> tf.Tensor:
      return model.training_loss()
  
file_path: GPflow/notebooks/getting_started/monitoring.pct.py
imports: import os
  import warnings
  import matplotlib
  import matplotlib.pyplot
  import numpy
  import tensorflow
  import gpflow
label_desc: Use image node_id 5 for calling a global function with example usage: my_scalar_2() and returns: model