-
Notifications
You must be signed in to change notification settings - Fork 67
Writing TensorFlow bindings for KeOps #135
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
Comments
Hello @davidenunes , |
Thank you, that was precisely the direction I was looking for. Yes I understand, I was just wandering if you had any development documentation effort in progress. To give you context, I'm interested in the project because I made a high level library for Tensorflow that among other things, has some components like optimal-transport-based losses with a heavy memory footprint, or neareast neighbour search kind of operations that require a third party lib. It would be nice to be able to rely on keops for some things. As I said, my time is limited (I'm wrapping-up my dissertation) but since I have some experience with TF, I'll take a look at |
So, translating the This particular this connects many things in the background myconv = LoadKeOps(
formula=self.formula,
aliases=self.aliases,
dtype=self.dtype,
lang="torch",
optional_flags=self.optional_flags
).import_module() Since other things like At this point I think I need to wait for development documentation and for things to evolve internally with keops (since you mentioned the cpp interfance changes, etc). This is too big a puzzle to jump in blindly since I don't have the time to study the codebase to learn everything needed from scratch. |
Out of curiosity, has any progress been made in development documentation since last year? |
I was wondering if there's any documentation on how one would go about writing new bindings for something like Tensorflow.
I didn't find anything, but at a glance (from quickly scanning the codebase) it seems like both numpy and torch folders in pykeops provide a starting point for how one would go about it.
That said I was wondering if you had something more solid in terms of documenation even if very basic. My time is limited but I might be interested in making a contribution, depending on how doable this is.
The text was updated successfully, but these errors were encountered: