code: def _count_trainable_params():
      total_parameters = 0
      for variable in tf.trainable_variables():
          shape = variable.get_shape()
          variable_parameters = 1
          for dim in shape:
              variable_parameters *= dim.value
          total_parameters += variable_parameters
      print("Total training params: %.2fM" % (total_parameters / 1e6))
  
imports: import os
  import shutil
  import tensorflow
  import numpy
  import time
  from datetime import timedelta
  import json
  import pickle
label_desc: Use image node_id 16 for calling the BasicModel obj's underlying member method code with example usage: obj._count_trainable_params() without return types