Skip to content

Commit 7c8f570

Browse files
Update FastCells.md
1 parent 9a40878 commit 7c8f570

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/FastCells.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# FastRNN and FastGRNN - FastCells
22

3-
This document aims to explain and elaborate on specific details of FastCells
4-
present as part of [edgeml_tf/graph/rnn.py](../edgeml_tf/graph/rnn.py). The
3+
This document elaborates on the details of FastCells
4+
present in [tf/edgeml_tf/graph/rnn.py](/tf/edgeml_tf/graph/rnn.py). The
55
endpoint use case scripts with 3 phase training along with an example notebook
6-
are present in [examples/tf/FastCells](../examples/tf/FastCells). One can use the endpoint script to test
6+
are present in [examples/tf/FastCells](/examples/tf/FastCells). One can use the endpoint script to test
77
out the RNN architectures on any dataset while specifying budget constraints as
88
part of hyper-parameters in terms of sparsity and rank of weight matrices.
99

@@ -23,11 +23,11 @@ replace any of the standard RNN Cell in our architecture with FastCells.
2323
One can see the plug and play nature at the endpoint script for FastCells, where the graph
2424
building is very similar to LSTM/GRU in Tensorflow.
2525

26-
Script: [Endpoint Script](../examples/tf/FastCells/fastcell_example.py)
26+
Script: [Endpoint Script](/examples/tf/FastCells/fastcell_example.py)
2727

28-
Example Notebook: [iPython Notebook](../examples/tf/FastCells/fastcell_example.ipynb)
28+
Example Notebook: [iPython Notebook](/examples/tf/FastCells/fastcell_example.ipynb)
2929

30-
Cells: [FastRNNCell](../edgeml/graph/rnn.py#L206) and [FastGRNNCell](../edgeml/graph/rnn.py#L31).
30+
Cells: [FastRNNCell](/tf/edgeml/graph/rnn.py#L206) and [FastGRNNCell](/tf/edgeml/graph/rnn.py#L31).
3131

3232
# 3 phase Fast Training
3333

@@ -50,7 +50,7 @@ Sparsity is taken in as hyper-parameter during the 3 phase training into `fastTr
5050
end spits out a sparse, low-rank model.
5151

5252
Further compression is achieved by byte Quantization and can be performed using `quantizeFastModels.py`
53-
script which is part of [examples/tf/FastCells](../examples/tf/FastCells). This will give model size reduction of up to 4x if 8-bit
53+
script which is part of [examples/tf/FastCells](/examples/tf/FastCells). This will give model size reduction of up to 4x if 8-bit
5454
integers are used. Lastly, to facilitate all integer arithmetic, including the non-linearities, one could
5555
use `quantTanh` instead of `tanh` and `quantSigm` instead of `sigmoid` as the non-linearities in the RNN
5656
Cells followed by byte quantization. These non-linearities can be set using the appropriate parameters in

0 commit comments

Comments
 (0)