





'''simple docstring'''


def 	__a(SCREAMING_SNAKE_CASE_  :					List[str]		,       SCREAMING_SNAKE_CASE_  :					Dict    ):
    _lowerCAmelCase				=      (boundary[1] - boundary[0]) / steps
    _lowerCAmelCase				=      boundary[0]
    _lowerCAmelCase				=      boundary[1]
    _lowerCAmelCase				=      make_points(SCREAMING_SNAKE_CASE_		,       SCREAMING_SNAKE_CASE_		,       SCREAMING_SNAKE_CASE_    )
    _lowerCAmelCase				=      0.0
    y += (h / 2.0) * f(SCREAMING_SNAKE_CASE_    )
    for i in x_i:
        # print(i)
        y += h * f(SCREAMING_SNAKE_CASE_    )
    y += (h / 2.0) * f(SCREAMING_SNAKE_CASE_    )
    return y


def 	__a(SCREAMING_SNAKE_CASE_  :					Dict		,       SCREAMING_SNAKE_CASE_  :					List[str]		,       SCREAMING_SNAKE_CASE_  :					Any    ):
    _lowerCAmelCase				=      a + h
    while x < (b - h):
        yield x
        _lowerCAmelCase				=      x + h


def 	__a(SCREAMING_SNAKE_CASE_  :					List[Any]    ):  # enter your function here
    _lowerCAmelCase				=      (x - 0) * (x - 0)
    return y


def 	__a():
    _lowerCAmelCase				=      0.0  # Lower bound of integration
    _lowerCAmelCase				=      1.0  # Upper bound of integration
    _lowerCAmelCase				=      10.0  # define number of steps or resolution
    _lowerCAmelCase				=      [a, b]  # define boundary of integration
    _lowerCAmelCase				=      method_a(SCREAMING_SNAKE_CASE_		,       SCREAMING_SNAKE_CASE_    )
    print(F'''y = {y}'''    )


if __name__ == "__main__":
       main()









'''simple docstring'''


from ...configuration_utils import PretrainedConfig

class    lowerCAmelCase_		(		__magic_name__		):
 __lowerCamelCase						:							List[str]         =					"bert-generation"




 def __init__(	self			,     _lowerCAmelCase=50358			,     _lowerCAmelCase=1024			,     _lowerCAmelCase=24			,     _lowerCAmelCase=16			,     _lowerCAmelCase=4096			,     _lowerCAmelCase="gelu"			,     _lowerCAmelCase=0.1			,     _lowerCAmelCase=0.1			,     _lowerCAmelCase=512			,     _lowerCAmelCase=0.02			,     _lowerCAmelCase=1E-12			,     _lowerCAmelCase=0			,     _lowerCAmelCase=2			,     _lowerCAmelCase=1			,     _lowerCAmelCase="absolute"			,     _lowerCAmelCase=True			,     **_lowerCAmelCase			,     )    ->							Tuple:
     super().__init__(pad_token_id=_lowerCAmelCase			,     bos_token_id=_lowerCAmelCase			,     eos_token_id=_lowerCAmelCase			,     **_lowerCAmelCase		)

     _lowerCAmelCase				=      vocab_size
     _lowerCAmelCase				=      hidden_size
     _lowerCAmelCase				=      num_hidden_layers
     _lowerCAmelCase				=      num_attention_heads
     _lowerCAmelCase				=      hidden_act
     _lowerCAmelCase				=      intermediate_size
     _lowerCAmelCase				=      hidden_dropout_prob
     _lowerCAmelCase				=      attention_probs_dropout_prob
     _lowerCAmelCase				=      max_position_embeddings
     _lowerCAmelCase				=      initializer_range
     _lowerCAmelCase				=      layer_norm_eps
     _lowerCAmelCase				=      position_embedding_type
     _lowerCAmelCase				=      use_cache


