



'''simple docstring'''







import warnings

from ...utils import logging
from .image_processing_glpn import GLPNImageProcessor


_UpperCamelCase					:  List[str]        =logging.get_logger(__name__)





class 						_SCREAMING_SNAKE_CASE      ( A__						):






			"""simple docstring"""







			def __init__(   self       , *_snake_case       , **_snake_case    ):







				"""simple docstring"""



				warnings.warn(
				    '''The class GLPNFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
				    ''' use GLPNImageProcessor instead.'''       , _snake_case       , )
				super().__init__(*_snake_case       , **_snake_case    )









from __future__ import annotations

from typing import Any






def     a     (		lowerCamelCase_							):






				'''simple docstring'''
				if not postfix_notation:
								return 0

				lowercase__  					=     {'''+''', '''-''', '''*''', '''/'''}
				lowercase__  					=     []

				for token in postfix_notation:
								if token in operations:
												lowercase__					,		lowercase__  					=     stack.pop(), stack.pop()
												if token == "+":
																stack.append(a + b							)
												elif token == "-":
																stack.append(a - b							)
												elif token == "*":
																stack.append(a * b							)
												else:
																if a * b < 0 and a % b != 0:
																				stack.append(a // b + 1							)
																else:
																				stack.append(a // b							)
								else:
												stack.append(int(lowerCamelCase_							)							)

				return stack.pop()


if __name__ == "__main__":
							import doctest

							doctest.testmod()




