docstr: Bin reward to {+1, 0, -1} by its sign.
  
  :param reward: (float)
docstr_tok: ["Bin","reward","to","{","+1",",","0",",","-1","}","by","its","sign",".",":","param","reward",":","(","float",")"]
code: def reward(self, reward):
      """
      Bin reward to {+1, 0, -1} by its sign.
  
      :param reward: (float)
      """
      return np.sign(reward)
  
imports: from collections import deque
  import numpy
  import gym
  from gym import spaces
  import cv2
label_desc: Use image node_id 2 for calling the ClipRewardEnv obj's underlying member method code with example usage: obj.reward(reward) and returns: np