You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
Operators like concat, Elementwise_sum, add_n, squeeze, stack etc have one of their parameters as *args (variable argument) and specifically the arg_type is NDArray-or-Symbol[] (notice it is a list of NDArray or Symbol)
However, the arg_name for such arg_type is different for different functions
Hey, this is the MXNet Label Bot.
Thank you for submitting the issue! I will try and suggest some labels so that the appropriate MXNet community members can help resolve it.
Here are my recommended labels: Bug, Feature
Operators like
concat
,Elementwise_sum
,add_n
,squeeze
,stack
etc have one of their parameters as*args
(variable argument) and specifically the arg_type isNDArray-or-Symbol[]
(notice it is a list of NDArray or Symbol)However, the arg_name for such arg_type is different for different functions
'arg_name': 'args', 'arg_type': 'NDArray-or-Symbol[]'
'khatri_rao': {'has_backward': False, 'nd_op_handle': <function khatri_rao at 0x122548ae8>, 'params': {'narg': 1, 'arg_names': ['args'], 'arg_types': ['NDArray-or-Symbol[]']}}
'ElementWiseSum': {'has_backward': False, 'nd_op_handle': <function ElementWiseSum at 0x122455950>, 'params': {'narg': 1, 'arg_names': ['args'], 'arg_types': ['NDArray-or-Symbol[]']}}
'add_n': {'has_backward': False, 'nd_op_handle': <function add_n at 0x122533488>, 'params': {'narg': 1, 'arg_names': ['args'], 'arg_types': ['NDArray-or-Symbol[]']}}
'arg_name': 'data', 'arg_type': 'NDArray-or-Symbol[]'
while for other operators
squeeze
,concat
,stack
, etcNote - 3 ops that have arg_name as
args
have just 1 argumentRest ops that have arg_name as
data
have multiple argumentsIs this a case of inconsistency? Should they all be referred as
data
instead of genericargs
?The text was updated successfully, but these errors were encountered: