Table Of Contents
Table Of Contents

Symbol.list_arguments

Symbol.list_arguments()[source]

Lists all the arguments in the symbol.

Example

>>> a = mx.sym.var('a')
>>> b = mx.sym.var('b')
>>> c = a + b
>>> c.list_arguments
['a', 'b']
Returns:args – List containing the names of all the arguments required to compute the symbol.
Return type:list of string