code: def testShardedFileName(self):
      with session.Session(
          target="",
          config=config_pb2.ConfigProto(device_count={"CPU": 2}),
      ):
          self.assertEqual(
              gen_io_ops.sharded_filename("foo", 4, 100).eval(),
              b"foo-00004-of-00100",
          )
          self.assertEqual(
              gen_io_ops.sharded_filespec("foo", 100).eval(),
              b"foo-?????-of-00100",
          )
  
imports: import os
  from absl.testing import parameterized
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.python.client import session
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import gen_io_ops
  from tensorflow.python.ops import io_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the ShardedFileOpsTest obj's underlying member method code with example usage: obj.testShardedFileName() without return types