





"""simple docstring"""






import warnings

from ...utils import logging
from .image_processing_imagegpt import ImageGPTImageProcessor


A	     =					logging.get_logger(__name__)




class 			__lowercase     (     _UpperCamelCase							):







					'''simple docstring'''




					def __init__(  self		,     *_UpperCAmelCase		,     **_UpperCAmelCase       ):
									warnings.warn(
									    '''The class ImageGPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
									    ''' Please use ImageGPTImageProcessor instead.'''		,     _UpperCAmelCase		,     )
									super().__init__(*_UpperCAmelCase		,     **_UpperCAmelCase       )






"""simple docstring"""






def       __A (     a_  :float)						->						float:

				if edge <= 0 or not isinstance(a_				,    a_):
								raise ValueError('''Length must be a positive.''')
				return 3 * ((25 + 10 * (5 ** (1 / 2))) ** (1 / 2)) * (edge**2)

def       __A (     a_  :float)						->						float:

				if edge <= 0 or not isinstance(a_				,    a_):
								raise ValueError('''Length must be a positive.''')
				return ((15 + (7 * (5 ** (1 / 2)))) / 4) * (edge**3)


if __name__ == "__main__":
		import doctest

		doctest.testmod()