code: def test_imperative_i1_o1():
      import nnabla.functions as F
  
      x = nn.NdArray([2, 3, 4])
      x.fill(1)
      x1 = F.add_scalar(x, 1)
      assert_allclose(x1.data, 2)
  
imports: import numpy
  import nnabla
  from nnabla.testing import assert_allclose
label_desc: Use image node_id 1 for calling a global function with example usage: test_imperative_i1_o1() without return types