code: def seasonality(time, period, amplitude=1, phase=0):
      season_time = ((time + phase) % period) / period
      return amplitude * seasonal_pattern(season_time)
  
file_path: BigDL/docs/readthedocs/source/doc/Serving/Example/l08c08_forecasting_with_lstm.py
imports: import numpy
  import tensorflow
  import tensorflow.keras
label_desc: Use image node_id 3 for calling a global function with example usage: seasonality(time, period, amplitude, phase) and returns: unknown