'''simple docstring'''





def 	lowerCAmelCase_				(					snake_case_       : str			)    ->      bool:


     '''simple docstring'''




     UpperCAmelCase_           =   n ** (1 / 3)
     return (val * val * val) == n


if __name__ == "__main__":
    print(perfect_cube(27))
    print(perfect_cube(4))








from argparse import ArgumentParser

from .add_new_model import AddNewModelCommand
from .add_new_model_like import AddNewModelLikeCommand
from .convert import ConvertCommand
from .download import DownloadCommand
from .env import EnvironmentCommand
from .lfs import LfsCommands
from .pt_to_tf import PTtoTFCommand
from .run import RunCommand
from .serving import ServeCommand
from .user import UserCommands



def 	lowerCAmelCase       (						)->       int:
				lowerCAmelCase_       :					int			 = ArgumentParser('''Transformers CLI tool'''       ,      usage='''transformers-cli <command> [<args>]'''       )
				lowerCAmelCase_       :					Dict			 = parser.add_subparsers(help='''transformers-cli command helpers'''       )

				# Register commands
				ConvertCommand.register_subcommand(lowerCAmelCase_       )
				DownloadCommand.register_subcommand(lowerCAmelCase_       )
				EnvironmentCommand.register_subcommand(lowerCAmelCase_       )
				RunCommand.register_subcommand(lowerCAmelCase_       )
				ServeCommand.register_subcommand(lowerCAmelCase_       )
				UserCommands.register_subcommand(lowerCAmelCase_       )
				AddNewModelCommand.register_subcommand(lowerCAmelCase_       )
				AddNewModelLikeCommand.register_subcommand(lowerCAmelCase_       )
				LfsCommands.register_subcommand(lowerCAmelCase_       )
				PTtoTFCommand.register_subcommand(lowerCAmelCase_       )

				# Let's go
				lowerCAmelCase_       :					Union[str, Any]			 = parser.parse_args()

				if not hasattr(lowerCAmelCase_       ,      '''func'''       ):
								parser.print_help()
								exit(1       )

				# Run
				lowerCAmelCase_       :					List[Any]			 = args.func(lowerCAmelCase_       )
				service.run()


if __name__ == "__main__":
						main()