code: def test_mul_scalar_inplace(seed, val, ctx, func_name):
      from nbla_test_utils import inplace_function_test_helper
  
      rng = np.random.RandomState(seed)
      x = nn.Variable([2, 3, 4], need_grad=True)
      inplace_function_test_helper(
          [x], F.mul_scalar, func_args=[val], ctx=ctx, rng=rng
      )
  
file_path: nnabla/python/test/function/test_mul_scalar.py
imports: import pytest
  import numpy
  import nnabla.functions
  import nnabla
  from nbla_test_utils import list_context
label_desc: Use image node_id 2 for calling a global function with example usage: test_mul_scalar_inplace(seed, val, ctx, func_name) without return types