code: def _test_logging_values(self, pytorch_run):
      # correct integration version is logged
      if pytorch_run.exists("source_code/integrations/lightning"):
          logged_version = pytorch_run[
              "source_code/integrations/lightning"
          ].fetch()
      else:
          logged_version = pytorch_run[
              "source_code/integrations/pytorch-lightning"
          ].fetch()
      assert logged_version == pytorch_lightning.__version__
  
      assert pytorch_run.exists("custom_prefix/valid/loss")
      assert (
          len(pytorch_run["custom_prefix/valid/loss"].fetch_values())
          == 3
      )
  
imports: import os
  import re
  import pytest
  import pytorch_lightning
  import torch
  from pytorch_lightning import LightningModule, Trainer
  from pytorch_lightning.callbacks import ModelCheckpoint
  from pytorch_lightning.loggers.neptune import NeptuneLogger
  from torch.utils.data import DataLoader, Dataset
  import neptune
  from tests.e2e.base import BaseE2ETest
label_desc: Use image node_id 1 for calling the TestPytorchLightning obj's underlying member method code with example usage: obj._test_logging_values(pytorch_run) without return types