Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix Python build for activation_soft_max function#715

Open
aisk wants to merge 1 commit intomicrosoft:master from
aisk:fix-python-build
Open

Fix Python build for activation_soft_max function #715
aisk wants to merge 1 commit intomicrosoft:master from
aisk:fix-python-build

Conversation

@aisk
Copy link

@aisk aisk commented Aug 18, 2025

There is a function overload for ActivationSoftmax, so the Python build will encounter this error:

 C:\Users\xxxxx\Source\DirectML\Python\src\module.cpp(557,12): error C2672: 'pybind11::module_::def': no matching overloaded function found [C:\Users\xxxxx\Source\DirectML\Python\build\temp.win-amd64-cpython-310\Release\pydirectml.vcxproj]
 C:\Users\xxxxx\Source\DirectML\Python\pybind11\include\pybind11\pybind11.h(1162,14):
 could be 'pybind11::module_ &pybind11::module_::def(const char *,Func &&,const Extra ...)'
 C:\Users\xxxxx\Source\DirectML\Python\src\module.cpp(557,12):
 'pybind11::module_ &pybind11::module_::def(const char *,Func &&,const Extra ...)': could not deduce template argument for 'Func'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

Comments

AltStyle によって変換されたページ (->オリジナル) /