Skip to content

Commit 1bf6b89

Browse files
authored
readme
1 parent a2c5a64 commit 1bf6b89

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,16 @@ gaf_net = GAFWrapper(
6767

6868
```
6969

70+
To set all `GAFWrapper` states within a network, use `set_filter_gradients_`
71+
72+
```python
73+
set_filter_gradients_(net, False) # turning on / off
74+
75+
# or perhaps filter thresholds on some schedule
76+
77+
set_filter_gradients_(net, True, 0.98)
78+
```
79+
7080
## Todo
7181

7282
- [ ] replicate cifar results on single machine

0 commit comments

Comments
 (0)