sponge.function.get_arguments

View Source On Gitee
sponge.function.get_arguments(locals_: dict, kwargs: dict = None)[source]

get arguments of a class.

Parameters
  • locals_ (dict) – Dictionary of the arguments from locals().

  • kwargs (dict) – Dictionary of keyword arguments (kwargs) of the class.

Returns

args (dict), Dictionary of arguments.

Supported Platforms:

Ascend GPU CPU