code: def test_rescale():
      assert trainer.rescale(image_tensor, 0)[1] == 0
  
file_path: chitra/tests/test_trainer.py
imports: from unittest.mock import MagicMock
  import numpy
  import pytest
  import tensorflow
  from tensorflow import keras
  from chitra.trainer import Dataset, InterpretModel, Trainer, create_cnn
label_desc: Use image node_id 7 for calling a global function with example usage: test_rescale() without return types