Skip to content

added return_single#92

Open
Katerina5649 wants to merge 1 commit intoSoftwareGift:regressionfrom
Katerina5649:patch-1
Open

added return_single#92
Katerina5649 wants to merge 1 commit intoSoftwareGift:regressionfrom
Katerina5649:patch-1

Conversation

@Katerina5649
Copy link

If isinstance(topk, int) is False, then in return you will catch :
UnboundLocalError: local variable 'return_single' referenced before assignment

If isinstance(topk, int) is False, then in return you will catch :
UnboundLocalError: local variable 'return_single' referenced before assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant