def 	__A		(      _A       ):



 """simple docstring"""


 if not isinstance(_A				,					_A       ):
  raise ValueError("Input series is not valid, valid series - [2, 4, 6]"       )
 if len(_A       ) == 0:
  raise ValueError("Input list must be a non empty list"       )
 if len(_A       ) == 1:
  return True
 __a							=	series[1] - series[0]
 for index in range(len(_A       ) - 1       ):
  if series[index + 1] - series[index] != common_diff:
   return False
 return True



def 	__A		(      _A       ):



 """simple docstring"""


 if not isinstance(_A				,					_A       ):
  raise ValueError("Input series is not valid, valid series - [2, 4, 6]"       )
 if len(_A       ) == 0:
  raise ValueError("Input list must be a non empty list"       )
 __a							=	0
 for val in series:
  answer += val
 return answer / len(_A       )


if __name__ == "__main__":
  import doctest

  doctest.testmod()



from ...utils import logging
from ..ta.modeling_tf_ta import TFTaEncoderModel, TFTaForConditionalGeneration, TFTaModel
from .configuration_mta import MTaConfig


SCREAMING_SNAKE_CASE			:						int				  =		logging.get_logger(__name__)

SCREAMING_SNAKE_CASE			:						Any				  =		"""T5Config"""
class  A_			(							a_			):
  _SCREAMING_SNAKE_CASE     					=      """mt5"""
  _SCREAMING_SNAKE_CASE     					=      MTaConfig
class  A_			(							a_			):
  _SCREAMING_SNAKE_CASE     					=      """mt5"""
  _SCREAMING_SNAKE_CASE     					=      MTaConfig
class  A_			(							a_			):
  _SCREAMING_SNAKE_CASE     					=      """mt5"""
  _SCREAMING_SNAKE_CASE     					=      MTaConfig


