We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/asyml/texar/blob/master/texar/losses/losses_utils.py#L166 If average_axes and sum_axes are integers, len(average_axes) (https://github.com/asyml/texar/blob/master/texar/losses/losses_utils.py#L183) and len(sum_axes) (https://github.com/asyml/texar/blob/master/texar/losses/losses_utils.py#L190) will cause error since object of type 'int' has no len().
average_axes
sum_axes
len(average_axes)
len(sum_axes)
object of type 'int' has no len()
The text was updated successfully, but these errors were encountered:
f827351
No branches or pull requests
https://github.com/asyml/texar/blob/master/texar/losses/losses_utils.py#L166
If
average_axes
andsum_axes
are integers,len(average_axes)
(https://github.com/asyml/texar/blob/master/texar/losses/losses_utils.py#L183) andlen(sum_axes)
(https://github.com/asyml/texar/blob/master/texar/losses/losses_utils.py#L190) will cause error sinceobject of type 'int' has no len()
.The text was updated successfully, but these errors were encountered: