Skip to content

Commit

Permalink
Removes user access to python and core module. (tensorflow#103)
Browse files Browse the repository at this point in the history
* Removes user access to python and core module.

* lint flags.

* Also adding in empty folder removal.
  • Loading branch information
MichaelBroughton authored Feb 22, 2020
1 parent 8b8b064 commit 436a10e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 28 deletions.
8 changes: 8 additions & 0 deletions tensorflow_quantum/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,12 @@
# Import differentiators.
import tensorflow_quantum.python.differentiators as differentiators

# Python adds these symbols for resolution of above imports to
# work. We get rid of them so that we don't have two paths to
# things. For example: tfq.layers and tfq.python.layers
# pylint: disable=undefined-variable
del python
del core
# pylint: enable=undefined-variable

__version__ = "0.2.0"
14 changes: 0 additions & 14 deletions tensorflow_quantum/python/operators/__init__.py

This file was deleted.

14 changes: 0 additions & 14 deletions tensorflow_quantum/python/optimizers/__init__.py

This file was deleted.

0 comments on commit 436a10e

Please sign in to comment.