code: def constant(shape, val, dtype=np.float32):
      return ones(shape, dtype=dtype) * val
  
file_path: cornac/cornac/utils/init_utils.py
imports: import numpy
  from .common import get_rng
label_desc: Use image node_id 3 for calling a global function with example usage: constant(shape, val, dtype) and returns: unknown