Skip to content
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

Create module for interfacing with the clifford python package #18

Open
RobinKa opened this issue Jun 20, 2020 · 4 comments
Open

Create module for interfacing with the clifford python package #18

RobinKa opened this issue Jun 20, 2020 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@RobinKa
Copy link
Owner

RobinKa commented Jun 20, 2020

Create a module for interfacing with Clifford.

  • Convert from clifford's MVArray to TFGA tf.Tensor
  • Convert from TFGA tf.Tensor to MVArray (or maybe that should be part of Clifford instead)
@RobinKa RobinKa added enhancement New feature or request good first issue Good for newcomers labels Jun 20, 2020
@RobinKa RobinKa changed the title Create interface for Clifford package Create module for interfacing with the clifford python package Jun 20, 2020
@hugohadfield
Copy link
Contributor

I think it should be possible to convert from clifford MVArray by simply calling .value on the array. This should give an array of the dense arrays under the hood. Currently in clifford I think this will only work for 1D arrays of multivectors, but it is definitely something we would like to work on

@hugohadfield
Copy link
Contributor

See:
https://github.com/pygae/clifford/blob/cc1c6eef29d511c4cab8c622e57107d960cde9ca/clifford/_mvarray.py#L28
and in fact we can go the other way as well from a numpy array:
https://github.com/pygae/clifford/blob/cc1c6eef29d511c4cab8c622e57107d960cde9ca/clifford/_mvarray.py#L35
I'll have a go today making a notebook to explore working with both libraries..

One thing that @eric-wieser and I were also discussing was building/converting the current clifford tools to be backend agnostic and work (hopefully) with any syntax compatible library

@pompeii222
Copy link

Could you please provide a version of pyTorch of TFGA? Because the pyTorch framework is used as the open source for many academic papers, we can hardly embde the TFGA into the open source code.

@pompeii222
Copy link

Hello, at present there is only a example of conv.ipynb, can you provide a complete example of convolutional neural network by using tfga

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants