code: def get_tensor(ckpt_reader, name, ema_ratio=0.999):
      if (
          name + "/ExponentialMovingAverage"
      ) in ckpt_reader.get_variable_to_shape_map().keys():
          base = ckpt_reader.get_tensor(name)
          ema = ckpt_reader.get_tensor(
              name + "/ExponentialMovingAverage"
          )
  
          return (1.0 - ema_ratio) * base + ema_ratio * ema
      else:
          return ckpt_reader.get_tensor(name)
  
file_path: chainercv/examples/mobilenet/tfckpt2npz.py
imports: import argparse
  import chainer
  import tensorflow
  from chainercv.links import MobileNetV2
label_desc: Use image node_id 4 for calling a global function with example usage: get_tensor(ckpt_reader, name, ema_ratio) and returns: unknown, ckpt_reader