



"""simple docstring"""






from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowerCAmelCase__      =    logging.get_logger(__name__)






class 	__snake_case	(     __lowercase):
  snake_case__    :       Any        =						"timm_backbone"




  def __init__(			self					:						Union[str, Any]						, __lowerCAmelCase					:						Dict=None						, __lowerCAmelCase					:						List[str]=3						, __lowerCAmelCase					:						List[str]=True						, __lowerCAmelCase					:						Optional[Any]=True						, __lowerCAmelCase					:						Union[str, Any]=None						, **__lowerCAmelCase					:						Dict						, ):






         """simple docstring"""






         super().__init__(**_a		)
         _lowerCamelCase						:    List[Any]         =			backbone
         _lowerCamelCase						:    str         =			num_channels
         _lowerCamelCase						:    List[str]         =			features_only
         _lowerCamelCase						:    List[str]         =			use_pretrained_backbone
         _lowerCamelCase						:    List[str]         =			True
         _lowerCamelCase						:    List[str]         =			out_indices if out_indices is not None else (-1,)







"""simple docstring"""






def 	snake_case_  (				A_ :		float						):


       '''simple docstring'''





       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 	snake_case_  (				A_ :		float						):


       '''simple docstring'''





       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()


