code: def loss_function():
      logits = model(data, training=True)
      return tf.losses.sparse_softmax_cross_entropy(target, logits)
  
file_path: byteps/example/tensorflow/synthetic_benchmark.py
imports: from __future__ import absolute_import, division, print_function
  import argparse
  import os, sys
  import numpy
  import timeit
  import byteps.tensorflow
  from tensorflow.keras import applications
  import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: loss_function() and returns: tf