Skip to content

Commit

Permalink
add future structure for ch
Browse files Browse the repository at this point in the history
  • Loading branch information
npapernot committed Apr 4, 2019
1 parent 04792c4 commit 4590d31
Show file tree
Hide file tree
Showing 13 changed files with 40 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -16,6 +16,10 @@ of the latest attacks and defenses.
In particular, we always welcome help towards resolving the [issues](https://github.com/tensorflow/cleverhans/issues)
currently open.

## Major updates coming to CleverHans

CleverHans will soon support 3 frameworks: JAX, PyTorch, and TF2.

## Setting up CleverHans

### Dependencies
Expand Down
7 changes: 7 additions & 0 deletions cleverhans/future/README.md
@@ -0,0 +1,7 @@
# CleverHans [Future]

This folder contains (experimental) code that will eventually replace the
existing CleverHans package. In the future, CleverHans will support three
frameworks (JAX, PyTorch, and TF2). The package itself will focus on its
initial principle: reference implementation of attacks against machine learning
models to help with benchmarking models against adversarial examples.
1 change: 1 addition & 0 deletions cleverhans/future/__init__.py
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions cleverhans/future/jax/__init__.py
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions cleverhans/future/tf2/__init__.py
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions cleverhans/future/torch/__init__.py
@@ -0,0 +1 @@

4 changes: 4 additions & 0 deletions defenses/README.md
@@ -0,0 +1,4 @@
# Defenses [Future]

In the future, the content of `future/` will be moved to this folder.

9 changes: 9 additions & 0 deletions defenses/future/README.md
@@ -0,0 +1,9 @@
# Defenses [Future]

In the future, this folder will be at the root of this repository `//defenses`.

This folder contains implementations of defenses (as standalone scripts) in one
of the three frameworks (JAX, PyTorch, TF2). Each defense should be implemented
as a script that helps reproduce results reported in the paper introducing the
defense. The goal is for these scripts to be authoritative ways to reproduce
the defense.
1 change: 1 addition & 0 deletions defenses/future/jax/README.md
@@ -0,0 +1 @@
# Defenses implemented with JAX
1 change: 1 addition & 0 deletions defenses/future/tf2/README.md
@@ -0,0 +1 @@
# Defenses implemented with TensorFlow 2
1 change: 1 addition & 0 deletions defenses/future/torch/README.md
@@ -0,0 +1 @@
# Defenses implemented with PyTorch
3 changes: 3 additions & 0 deletions tutorials/README.md
@@ -0,0 +1,3 @@
# Tutorials [Future]

In the future, the content of `future/` will be moved to this folder.
6 changes: 6 additions & 0 deletions tutorials/future/README.md
@@ -0,0 +1,6 @@
# Tutorials [Future]

In the future, this folder will be at the root of this repository `//tutorials`

This folder contains scripts demonstrating the features of CleverHans
implemented in one of the three supported frameworks (JAX, PyTorch, and TF2).

0 comments on commit 4590d31

Please sign in to comment.