-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
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
basic matrix multiply example for C++ api? #17
Comments
template<int M, bool NeedEncodeX>
}
} template
}; |
@dumpinfo Thx for your reply. I'm going to test it. 😆 |
Hello, how to use this test case, I have compiled the source file:bazel run :main,What should I do afterwards, can I tell you more about it? |
To run any of the MADDNESS code, use cpp/test/main.cpp. I used catch tests for everything because it gives you a nice CLI and makes debugging easy. You can run it with no arguments, but you probably want to pass some tags for which tests to run--the full suite takes a while. You probably want something like |
Hi @dumpinfo, @troyliu0105, it seems like you have worked with mithral in its C++ implementation. Could you find files where the parameter optimization takes place? Running |
@fjrdev: there is no learning available in the C++ API, only the python implementation. So you'd have to generate the split thresholds, split values, and prototypes in python and pass them to C++. Which this repo doesn't support doing yet (and I likely won't add it in the foreseeable future because I wrote this code 2.5y ago and am super busy with work + family these days). |
implemented in "python/clusterize.py" |
@dumpinfo have you managed to port the python learning code to c++ or at least were able to extract the learnt parameters into the c++ codebase? |
I couldn't find any c++ examples (including basic matrix multiply) here. Any related code snippet would be very helpful... 😢
The text was updated successfully, but these errors were encountered: