





'''simple docstring'''

from typing import TYPE_CHECKING

from ..utils import _LazyModule


UpperCAmelCase					:		Optional[Any]		=							{
    'config': [
        'EXTERNAL_DATA_FORMAT_SIZE_LIMIT',
        'OnnxConfig',
        'OnnxConfigWithPast',
        'OnnxSeq2SeqConfigWithPast',
        'PatchingSpec',
    ],
    'convert': ['export', 'validate_model_outputs'],
    'features': ['FeaturesManager'],
    'utils': ['ParameterFormat', 'compute_serialized_parameters_size'],
}


if TYPE_CHECKING:
   from .config import (
       EXTERNAL_DATA_FORMAT_SIZE_LIMIT,
       OnnxConfig,
       OnnxConfigWithPast,
       OnnxSeqaSeqConfigWithPast,
       PatchingSpec,
   )
   from .convert import export, validate_model_outputs
   from .features import FeaturesManager
   from .utils import ParameterFormat, compute_serialized_parameters_size

else:
   import sys

   UpperCAmelCase					:		str		=							_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)









'''simple docstring'''

import math

from numpy import inf
from scipy.integrate import quad




def    _a    (							lowerCAmelCase_	):





      """simple docstring"""



      if num <= 0:
            raise ValueError('''math domain error'''	)

      return quad(lowerCAmelCase_			,      0			,      lowerCAmelCase_			,      args=(lowerCAmelCase_)	)[0]




def    _a    (							lowerCAmelCase_			,      lowerCAmelCase_	):





      """simple docstring"""



      return math.pow(lowerCAmelCase_			,      z - 1	) * math.exp(-x	)


if __name__ == "__main__":
   from doctest import testmod

   testmod()


