code: def __getitem__(self, index):
      val, label = self.data[index]
      return tf.cast(
          tf.fill(self.input_size, val), dtype=tf.float32
      ), tf.constant(label, dtype=tf.bool)
  
file_path: doctr/tests/tensorflow/test_datasets_loader_tf.py
imports: from typing import List, Tuple
  import tensorflow
  from doctr.datasets import DataLoader
label_desc: Use image node_id 3 for calling the MockDataset obj's underlying member method code with example usage: obj.__getitem__(index) and returns: tf,  tf