



'''simple docstring'''






import math


def  snake_case_     (					_lowerCAmelCase  :						Union[str, Any]  )      ->   str:
							UpperCAmelCase :       List[Any] 							=		0
							UpperCAmelCase :       List[Any] 							=		0
							while num > 0:
														UpperCAmelCase :       Union[str, Any] 							=		num % 8
														UpperCAmelCase :       List[Any] 							=		octal + (remainder * math.floor(math.pow(10   ,      a_  )  ))
														counter += 1
														UpperCAmelCase :       Dict 							=		math.floor(num / 8  )  # basically /= 8 without remainder if any
														# This formatting removes trailing '.0' from `octal`.
							return f"""0o{int(a_  )}"""


def  snake_case_     (					)      ->   List[str]:
							print('''\n2 in octal is:'''  )
							print(decimal_to_octal(2  )  )  # = 2
							print('''\n8 in octal is:'''  )
							print(decimal_to_octal(8  )  )  # = 10
							print('''\n65 in octal is:'''  )
							print(decimal_to_octal(65  )  )  # = 101
							print('''\n216 in octal is:'''  )
							print(decimal_to_octal(216  )  )  # = 330
							print('''\n512 in octal is:'''  )
							print(decimal_to_octal(512  )  )  # = 1000
							print('''\n'''  )


if __name__ == "__main__":
						main()













import warnings

from ...utils import logging
from .image_processing_perceiver import PerceiverImageProcessor


lowercase  							=					logging.get_logger(__name__)




class  UpperCamelCase_      (			snake_case_				):



	'''simple docstring'''




	def __init__(       self       ,			*a       ,			**a					)       ->    None:
								warnings.warn(
								    'The class PerceiverFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
								    ' Please use PerceiverImageProcessor instead.'       ,			a       ,			)
								super().__init__(*a       ,			**a					)





