
"""simple docstring"""





from __future__ import annotations
def 				A_  (__a					, __a					):

					'''simple docstring'''





					A_								=    []
					create_all_state(1					, __a					, __a					, []					, __a					)
					return result
def 				A_  (__a					, __a					, __a					, __a					, __a					, ):

					'''simple docstring'''





					if level == 0:
										total_list.append(current_list[:]					)
										return

					for i in range(__a					, total_number - level + 2					):
										current_list.append(__a					)
										create_all_state(i + 1					, __a					, level - 1					, __a					, __a					)
										current_list.pop()
def 				A_  (__a					):

					'''simple docstring'''





					for i in total_list:
										print(*__a					)


if __name__ == "__main__":
		UpperCamelCase_       :    List[str]						      =			4
		UpperCamelCase_       :    Optional[Any]						      =			2
		UpperCamelCase_       :    Any						      =			generate_all_combinations(n, k)
		print_all_state(total_list)






"""simple docstring"""





from typing import TYPE_CHECKING

from ....utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


UpperCamelCase_       :    Any						      =			{'''configuration_van''': ['''VAN_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''VanConfig''']}


try:
		if not is_torch_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		UpperCamelCase_       :    str						      =			[
		    '''VAN_PRETRAINED_MODEL_ARCHIVE_LIST''',
		    '''VanForImageClassification''',
		    '''VanModel''',
		    '''VanPreTrainedModel''',
		]

if TYPE_CHECKING:
		from .configuration_van import VAN_PRETRAINED_CONFIG_ARCHIVE_MAP, VanConfig

		try:
				if not is_torch_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .modeling_van import (
				    VAN_PRETRAINED_MODEL_ARCHIVE_LIST,
				    VanForImageClassification,
				    VanModel,
				    VanPreTrainedModel,
				)

else:
		import sys

		UpperCamelCase_       :    Optional[Any]						      =			_LazyModule(__name__, globals()['''__file__'''], _import_structure)




