class_docstr: Base class for sampler clipper.
  
  Given a batch of actions, clip and return clipped actions according to given
  constraints.
class_docstr_tok: ["Base","class","for","sampler","clipper",".","Given","a","batch","of","actions",",","clip","and","return","clipped","actions","according","to","given","constraints","."]
docstr: Clips action according to given constraints.
  
  Args:
    actions: An [N, B, A] Tensor representing sampled actions.
    state: Nested state tensor.
  
  Returns:
    actions: An [N, B, A] Tensor representing clipped actions.
docstr_tok: ["Clips","action","according","to","given","constraints",".","Args",":","actions",":","An","[","N",",","B",",","A","]","Tensor","representing","sampled","actions",".","state",":","Nested","state","tensor",".","Returns",":","actions",":","An","[","N",",","B",",","A","]","Tensor","representing","clipped","actions","."]
code: def __call__(self, actions, state):
      """Clips action according to given constraints.
  
      Args:
        actions: An [N, B, A] Tensor representing sampled actions.
        state: Nested state tensor.
  
      Returns:
        actions: An [N, B, A] Tensor representing clipped actions.
      """
      raise NotImplementedError("clip not implemented.")
  
file_path: agents/tf_agents/policies/samplers/qtopt_cem_actions_sampler.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import abc
label_desc: Use image node_id 1 for calling the SampleRejecter obj's underlying member method code with example usage: obj.__call__(actions, state) without return types