title: Is it possible to get dataset file infromation at the time of test a model?
body: <p>My dataset code is like the below one; Here, <code>X_test</code> is a <code>list[list]</code> and <code>y_test</code> is <code>list[Path]</code></p>
  <p>The <code>first.py</code> file</p>
  <pre><code>self.test_dataset = LongDataset(
                  X_path=X_test,
                  y_path=y_test,
                  transform=val_transforms,
              )
  </code></pre>
  <p>The rest of the part is as usual (<code>dataloader</code>)</p>
  <pre><code>def test_dataloader(self):
          return DataLoader(self.test_dataset, batch_size=1, num_workers=8)
  </code></pre>
  <p>In the <code>second.py</code> file</p>
  <p>The <code>DataModule</code></p>
  <pre><code>data_module = DataModuleLong(batch_size=3,)
  </code></pre>
  <p>The <code>Trainer</code></p>
  <pre><code>trainer = Trainer(gpus=1)
      trainer.test(
          model=model,
          ckpt_path=ckpt_path,
          datamodule=data_module,
      )
  </code></pre>
  <p>The  <code>train_step()</code> in the <code>third.py</code> file</p>
  <pre><code>def test_step(self, batch, batch_idx: int):
          inputs, targets = batch
          logits = self(inputs)
          ...
          ...
          ...
  </code></pre>
  <p>Now, is it possible to print (in the <code>train_step()</code>) the (<code>inputs, targets</code>) filename (or the full path) I am sending from <code>test_dataset</code> as (<code>X_path</code>, <code>y_path</code>)?</p>