code: def _subset(self, files, indices):
      return set(
          compat.as_bytes(files[i].name)
          for i in range(len(files))
          if i in indices
      )
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/io_ops/io_ops_test.py
imports: import os
  import shutil
  import tempfile
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import io_ops
  from tensorflow.python.platform import test
  from tensorflow.python.util import compat
label_desc: Use image node_id 4 for calling the IoOpsTest obj's underlying member method code with example usage: obj._subset(files, indices) and returns: set