code: 
  
  import unittest
  
  import numpy as np
  
  from transformers import is_tf_available
  from transformers.testing_utils import require_tf
  
  
  if is_tf_available():
  			import tensorflow as tf
  
  			from transformers.activations_tf import get_tf_activation
  
  @require_tf
  class      UpperCAmelCase_						(     unittest.TestCase ):
  
  						'''simple docstring'''
  
  
  
  
  						def  _A			(					self	):
  
  
  
  
  
  
  
  													'''simple docstring'''
  
  													__SCREAMING_SNAKE_CASE								=      tf.constant([-100, -1.0, -0.1, 0, 0.1, 1.0, 100.0]	)
  													__SCREAMING_SNAKE_CASE								=      get_tf_activation('gelu'	)
  													__SCREAMING_SNAKE_CASE								=      get_tf_activation('gelu_10'	)
  
  													__SCREAMING_SNAKE_CASE								=      gelu(_A	)
  													__SCREAMING_SNAKE_CASE								=      geluaa(_A	)
  
  													__SCREAMING_SNAKE_CASE								=      tf.where(y_gelu_aa < 1_0.0   ,							1.0   ,							0.0	)
  
  													self.assertEqual(tf.math.reduce_max(_A	).numpy().item()   ,							1_0.0	)
  													self.assertTrue(np.allclose(y_gelu * clipped_mask   ,							y_gelu_aa * clipped_mask	)	)
  
  
  
  
  
  
  						def  _A			(					self	):
  
  
  
  
  
  
  
  													'''simple docstring'''
  
  													get_tf_activation('gelu'	)
  													get_tf_activation('gelu_10'	)
  													get_tf_activation('gelu_fast'	)
  													get_tf_activation('gelu_new'	)
  													get_tf_activation('glu'	)
  													get_tf_activation('mish'	)
  													get_tf_activation('quick_gelu'	)
  													get_tf_activation('relu'	)
  													get_tf_activation('sigmoid'	)
  													get_tf_activation('silu'	)
  													get_tf_activation('swish'	)
  													get_tf_activation('tanh'	)
  													with self.assertRaises(_A	):
  																				get_tf_activation('bogus'	)
  													with self.assertRaises(_A	):
  																				get_tf_activation(_A	)
  
  
  
  
  
  
  
style_context: 
  
  
  
  def 			__lowercase     (				a__							,     a__     )       ->				List[str]:
  							if n == 0:
  														return 1
  
  							elif n % 2 == 1:
  														return binary_exponentiation(a__							,     n - 1     ) * a
  
  							else:
  														__SCREAMING_SNAKE_CASE								=      binary_exponentiation(a__							,     n / 2     )
  														return b * b
  
  
  if __name__ == "__main__":
  			try:
  						lowerCAmelCase__	:  str 		=int(input('''Enter Base : ''').strip())
  						lowerCAmelCase__	:  Optional[int] 		=int(input('''Enter Power : ''').strip())
  			except ValueError:
  						print('''Invalid literal for integer''')
  
  			lowerCAmelCase__	:  Any 		=binary_exponentiation(BASE, POWER)
  			print(F'''{BASE}^({POWER}) : {RESULT}''')
  
  
  
  
  
  
  