code: def _helper_make_inits(val):
      """Return the function that initialize variable with val.
  
      Args:
          val (int): Value to initialize variable.
  
      Returns:
          lambda: Lambda function that initialize variable with val.
  
      """
      return lambda x: nn.init.constant_(x, val)
  
imports: import pytest
  import torch
  from torch import nn
  from garage.torch.modules import MultiHeadedMLPModule
label_desc: Use image node_id 1 for calling a global function with example usage: _helper_make_inits(val) and returns: function