





'''simple docstring'''

import re







def    a__							(							lowercase   :	str )						->						bool:





     """simple docstring"""

     _UpperCamelCase							       =			re.compile(
         r'''^(?:0|94|\+94|0{2}94)''' r'''7(0|1|2|4|5|6|7|8)''' r'''(-| |)''' r'''\d{7}$''' )

     return bool(re.search(lowercase,   lowercase ) )


if __name__ == "__main__":
   lowercase__		:     Tuple			=							'0094702343221'

   print(is_sri_lankan_phone_number(phone))










'''simple docstring'''

import jax.numpy as jnp

from ...utils import logging
from ..ta.modeling_flax_ta import FlaxTaEncoderModel, FlaxTaForConditionalGeneration, FlaxTaModel
from .configuration_mta import MTaConfig


lowercase__		:     int			=							logging.get_logger(__name__)

lowercase__		:     Any			=							'T5Config'







def    a__							(							lowercase   :	jnp.array,   lowercase   :	int,   lowercase   :	int )						->						jnp.ndarray:





     """simple docstring"""

     _UpperCamelCase							       =			jnp.zeros_like(lowercase )
     _UpperCamelCase							       =			shifted_input_ids.at[:, 1:].set(input_ids[:, :-1] )
     _UpperCamelCase							       =			shifted_input_ids.at[:, 0].set(lowercase )

     _UpperCamelCase							       =			jnp.where(shifted_input_ids == -100,   lowercase,   lowercase )
     return shifted_input_ids
class 							__lowerCAmelCase	(       __magic_name__					):






       """simple docstring"""
       _snake_case      :	Optional[Any]									=       'mt5'
       _snake_case      :	Union[str, Any]									=       MTaConfig

class 							__lowerCAmelCase	(       __magic_name__					):






       """simple docstring"""
       _snake_case      :	Tuple									=       'mt5'
       _snake_case      :	int									=       MTaConfig

class 							__lowerCAmelCase	(       __magic_name__					):






       """simple docstring"""
       _snake_case      :	Optional[int]									=       'mt5'
       _snake_case      :	Optional[Any]									=       MTaConfig



