code: def test_transforms_return_torch(img_3x3, trf, return_torch):
      if "p" in inspect.getfullargspec(trf.__init__):
          trf: slc.BaseTransform = trf(p=1)
      else:
          trf: slc.BaseTransform = trf()
      res = trf(
          {"image": img_3x3},
          return_torch=return_torch,
          as_dict=False,
          mean=(0.5,),
          std=(0.5,),
      )
  
      assert isinstance(res, torch.FloatTensor) == return_torch
  
imports: import solt.transforms
  import solt.core
  import numpy
  import pytest
  import sys, inspect
  import torch
  from .fixtures import *
label_desc: Use image node_id 15 for calling a global function with example usage: test_transforms_return_torch(img_3x3, trf, return_torch) without return types