code: def test_const():
      c = relay.const(1.0, "float32")
      x = relay.var("x", shape=(10, 10), dtype="float32")
      f = relay.Function([x], x + c)
      x_data = np.random.rand(10, 10).astype("float32")
      res = get_serialized_output(f, x_data)
      tvm.testing.assert_allclose(res.numpy(), x_data + 1)
  
imports: import pytest
  import numpy
  import tvm
  from tvm.runtime import vm
  from tvm.relay import vm
  from tvm import relay
  from tvm.relay.scope_builder import ScopeBuilder
  from tvm.relay import transform
  from tvm.relay.prelude import Prelude
  from tvm.contrib import utils
  from tvm.relay import testing
label_desc: Use image node_id 6 for calling a global function with example usage: test_const() without return types