code: def test_set_inputs_and_set_pad_val(self):
      logger.setLevel("DEBUG")
      ds = RandomDataset()
      fdl = PaddleDataLoader(ds, batch_size=2, drop_last=True)
      fdl.set_pad("label", -1)
      for batch in fdl:
          assert batch["image"].shape == [2, 10, 5]
      fdl1 = PaddleDataLoader(ds, batch_size=4, drop_last=True)
      fdl1.set_ignore("label")
      for batch in fdl1:
          assert batch["image"].shape == [4, 10, 5]
  
file_path: fastNLP/tests/core/dataloaders/paddle_dataloader/test_fdl.py
imports: import pytest
  import numpy
  from fastNLP.core.dataloaders.paddle_dataloader.fdl import PaddleDataLoader, prepare_paddle_dataloader
  from fastNLP.core.dataset import DataSet
  from fastNLP.io.data_bundle import DataBundle
  from fastNLP.core.log import logger
  from fastNLP.core.collators import Collator
  from fastNLP.envs.imports import _NEED_IMPORT_PADDLE
label_desc: Use image node_id 3 for calling the TestPaddle obj's underlying member method code with example usage: obj.test_set_inputs_and_set_pad_val() without return types