code: def test_to_tuple():
      assert to_tuple(123) == (123,)
      assert to_tuple((1, 2, 3)) == (1, 2, 3)
      assert to_tuple([1, 2, 3]) == (1, 2, 3)
  
imports: import pytest
  import mxnet
  from mxnet import nd
  import numpy
  from rl_coach.architectures.mxnet_components.utils import *
label_desc: Use image node_id 8 for calling a global function with example usage: test_to_tuple() without return types