parameters: ()
return_statement: return random_sampling_mx_operators
docstring: Gets all Random Sampling operators registered with MXNet.
  
      Returns
      -------
      {"operator_name": {"has_backward", "nd_op_handle", "params"}}
docstring_summary: Gets all Random Sampling operators registered with MXNet.
docstring_tokens: Gets all Random Sampling operators registered with MXNet .
function: def get_all_random_sampling_operators():
      """Gets all Random Sampling operators registered with MXNet.
  
      Returns
      -------
      {"operator_name": {"has_backward", "nd_op_handle", "params"}}
      """
      # Additional Random Sampling ops which do not start with "random_" or "sample_"
      additional_random_sampling_ops = {'GridGenerator', 'BilinearSampler'}
  
      # Get all mxnet operators
      mx_operators = _get_all_mxnet_operators()
  
      # Filter for Random Sampling operators
      random_sampling_mx_operators = {}
      for op_name, _ in mx_operators.items():
          if op_name.startswith(("random_", "sample_")) or op_name in additional_random_sampling_ops:
              random_sampling_mx_operators[op_name] = mx_operators[op_name]
      return random_sampling_mx_operators
function_tokens: def get_all_random_sampling_operators ( ) : # Additional Random Sampling ops which do not start with "random_" or "sample_" additional_random_sampling_ops = { 'GridGenerator' , 'BilinearSampler' } # Get all mxnet operators mx_operators = _get_all_mxnet_operators ( ) # Filter for Random Sampling operators random_sampling_mx_operators = { } for op_name , _ in mx_operators . items ( ) : if op_name . startswith ( ( "random_" , "sample_" ) ) or op_name in additional_random_sampling_ops : random_sampling_mx_operators [ op_name ] = mx_operators [ op_name ] return random_sampling_mx_operators