code: def initializer_with_rank(
      initializer, output_rank=None, filter_rank=None
  ):
      """
      override output_rank and filter_rank specification in a random initializer
      constructed without an explicit output_rank and filter_rank specification
  
      Args:
          initializer: initializer whose output_rank and filter_rank parameters are to be overriden
          output_rank (int): new output rank value
          filter_rank (int): new filter rank value
  
      Returns:
          new initializer for :class:`~cntk.variables.Parameter` with specified output_rank and filter_rank
      """
      if output_rank is None:
          output_rank = SentinelValueForInferParamInitRank
      if filter_rank is None:
          filter_rank = SentinelValueForInferParamInitRank
      return cntk_py.random_initializer_with_rank(
          initializer, output_rank, filter_rank
      )
  
file_path: CNTK/bindings/python/cntk/initializer.py
imports: from .None import cntk_py
  from .cntk_py import default_param_init_scale, sentinel_value_for_infer_param_init_rank, sentinel_value_for_auto_select_random_seed
label_desc: Use image node_id 9 for calling a global function with example usage: initializer_with_rank(initializer, output_rank, filter_rank) and returns: cntk_py