Skip to content

Obfuscate nxsdk information - #228

Merged
tbekolay merged 5 commits into
masterfrom
obfuscate
Jun 21, 2019
Merged

Obfuscate nxsdk information#228
tbekolay merged 5 commits into
masterfrom
obfuscate

Conversation

@drasmuss

Copy link
Copy Markdown
Member

Intel has requested that we obfuscate information related to the nxsdk API (since it is not publicly available). This is an attempt at doing so.

Note that the goal here is not to make the obfuscated information unrecoverable, but simply to obscure it from a surface viewing.

There are three major things I was considering in the obfuscation:

  1. Hiding any direct calls to nxsdk objects
  2. Renaming any nengo-loihi classes/functions/variables that directly correspond to equivalent nxsdk objects
  3. Hiding any constant values (e.g. register sizes) that are based on information inside nxsdk

Comment thread nengo_loihi/builder/connection.py Outdated
Comment thread nengo_loihi/builder/connection.py Outdated
Comment thread nengo_loihi/conv.py Outdated
Comment thread nengo_loihi/block.py Outdated
@tbekolay
tbekolay force-pushed the obfuscate branch 5 times, most recently from 0c9b587 to 1756408 Compare June 20, 2019 19:15
drasmuss added 5 commits June 21, 2019 11:00
This decouples Nengo Loihi from NxSDK in preparation for
obfuscating the NxCore API.
The test failure seems to be a very small floating point
difference that doesn't happen in earlier TensorFlow versions,
so we downgrade for now and will look into the differences
in more detail later.
This seems to be the underlying issue when two processes attempt
to build Loihi models at the same time. Reproducing the error and
fully debugging it is time consuming, so we're adding these print
statements in for now so that if the tests randomly fail again we
can get some more insight for further debugging.
@tbekolay
tbekolay merged commit 09053af into master Jun 21, 2019
@tbekolay
tbekolay deleted the obfuscate branch June 21, 2019 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants