code: def _set_shape_to_named_tuple(schema, fields, batched_output):
      """Assign static shape for all tensors"""
      fields_as_dict = fields._asdict()
      _set_shape(schema, fields_as_dict, batched_output)
      return schema.make_namedtuple_tf(**fields_as_dict)
  
imports: import datetime
  import sys
  import warnings
  from calendar import timegm
  from collections import OrderedDict, namedtuple
  from decimal import Decimal
  import numpy
  import tensorflow.compat.v1
label_desc: Use image node_id 13 for calling a global function with example usage: _set_shape_to_named_tuple(schema, fields, batched_output) and returns: schema