code: def hard_sigmoid(x):
      dtype_in = x.dtype
      point_two = ivy.full(x.shape, 0.2)
      point_five = ivy.full(x.shape, 0.5)
      x = ivy.multiply(x, point_two)
      x = ivy.add(x, point_five)
      x = ivy.clip(x, 0.0, 1.0)
      x = ivy.asarray(x, dtype=dtype_in)
      return x
  
file_path: ivy/ivy/functional/frontends/tensorflow/keras/activations.py
imports: import ivy
  import ivy.functional.frontends.tensorflow
  from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
  from ivy import with_supported_dtypes
label_desc: Use image node_id 5 for calling a global function with example usage: hard_sigmoid(x) and returns: x