

'''simple docstring'''







import warnings

from ...utils import logging
from .image_processing_deit import DeiTImageProcessor


__lowerCamelCase						    =      logging.get_logger(__name__)


class    A__ ( _snake_case     ):



    def __init__(   self						,			*UpperCamelCase__						,			**UpperCamelCase__    )  -> None:





           '''simple docstring'''
           warnings.warn(
               """The class DeiTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
               """ use DeiTImageProcessor instead."""						,			UpperCamelCase__						,			)
           super().__init__(*UpperCamelCase__						,			**UpperCamelCase__    )



'''simple docstring'''







def  UpperCAmelCase__      ( UpperCAmelCase__			)     ->     float:

       if edge <= 0 or not isinstance(UpperCAmelCase__,    UpperCAmelCase__			):
              raise ValueError("""Length must be a positive."""			)
       return 3 * ((25 + 10 * (5 ** (1 / 2))) ** (1 / 2)) * (edge**2)
def  UpperCAmelCase__      ( UpperCAmelCase__			)     ->     float:

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


if __name__ == "__main__":
      import doctest

      doctest.testmod()
