Skip to content
Branch: master
Find file History

Latest commit

4 authors Add Keras layers support (#529)
* Add first commit of keras interface

* Update keras interface

* Make qnode.func visible in TF QNode

* Move to new location

* Update

* Move to right place

* Update

* Start working on tests

* Add unit tests

* Update tests

* Update test

* Update integration tests

* Add to integration tests

* Allow for multiple types of tf.float

* Revert changes

* Allow for output type to be set as an argument

* Simplify circuit in test

* Update tests

* Run black

* Apply isort

* Tidy up due to PyLint

* Add to docstrings

* Add to documentation

* Finalize docstrings

* Test with multiple input interfaces

* Run black

* Remove from __init__ because this module requires TF explicitly

* Update tests for cases where TF is not available

* Fix tensor flow versioning

* Skip variable in docs

* Apply suggestions from code review

Co-Authored-By: Nathan Killoran <co9olguy@users.noreply.github.com>
Co-Authored-By: Josh Izaac <josh146@gmail.com>

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Apply isort

* Revert isort due to lint errors

* Restructure

* Apply black

* Apply suggestions and make class attribute

* Apply suggestions from code review

* Apply suggestions from code review

* Fix failing test

* Update changelog

* Apply suggestions from code review

Co-Authored-By: Josh Izaac <josh146@gmail.com>

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

Co-Authored-By: Josh Izaac <josh146@gmail.com>

* Explain import

* Apply suggestions from code review

Co-Authored-By: Josh Izaac <josh146@gmail.com>
Co-Authored-By: Maria Schuld <mariaschuld@gmail.com>

* Apply suggestions from code review

* Apply suggestions from code review

* Fix pylint and apply black

* Fix docs building

* Improve docs

* Change example to have multidimensional input

* Reorder Usage details

* Update input_arg to property

* Remove setter and fix tests

* Clarify docstring

* Apply black

* Update pennylane/qnn/keras.py

* Fix typo in changelog

* Fix link

* Update changelog to reflect current example

* Update indentation

Co-authored-by: Josh Izaac <josh146@gmail.com>
Co-authored-by: Maria Schuld <mariaschuld@gmail.com>
Co-authored-by: Nathan Killoran <co9olguy@users.noreply.github.com>
Latest commit 40d480d Apr 1, 2020

Files

Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
__init__.py Update copyright years (#496) Feb 5, 2020
autograd.py Update copyright years (#496) Feb 5, 2020
tf.py
torch.py Add Keras layers support (#529) Apr 1, 2020
You can’t perform that action at this time.