code: def sample_sym(magnitude, size=None):
      return (np.random.beta(4, 4, size=size) - 0.5) * 2 * magnitude
  
imports: import math
  import numbers
  import random
  import cv2
  import numpy
  from paddle.vision.transforms import Compose, ColorJitter
label_desc: Use image node_id 2 for calling a global function with example usage: sample_sym(magnitude, size) and returns: unknown