getNodeSourceTypeIndex cannot get source type index for more than one node
Closed this issue · 0 comments
sdlj2008 commented
It seems that the code can only return type index for all node or one node, if there are more than one node, for example, if I would like to get the type index for the 1st, 2nd and 3rd node, the code can only return type index for the 1st node, see return value[0].
if len(argv) == 0:
return np.array(value)
else:
return value[0]
and the parameter j is not used in this function.