original_docstring: 
          Transform grayscale image to RGB image
  
          Args:
              image: the input grayscale image
                     type: ndarray, shape: (dim1,dim2)
  
          Return:
              the transformed RGB image
          
docstring: Transform grayscale image to RGB image
docstring_tokens: Transform grayscale image to RGB image
code: def gray2rgb(image):
      '''
          Transform grayscale image to RGB image
  
          Args:
              image: the input grayscale image
                     type: ndarray, shape: (dim1,dim2)
  
          Return:
              the transformed RGB image
          '''
      return cv2.cvtColor(image,cv2.COLOR_GRAY2RGB)
code_tokens: def gray2rgb ( image ) : return cv2 . cvtColor ( image , cv2 . COLOR_GRAY2RGB )
short_docstring: Transform grayscale image to RGB image
short_docstring_tokens: Transform grayscale image to RGB image
comment: '''
          Transform grayscale image to RGB image
  
          Args:
              image: the input grayscale image
                     type: ndarray, shape: (dim1,dim2)
  
          Return:
              the transformed RGB image
          '''