Skip to content

Commit

Permalink
Update README and images
Browse files Browse the repository at this point in the history
  • Loading branch information
dboyliao committed Jun 11, 2019
1 parent fae1129 commit e90771a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,29 @@ Run `utensor-cli convert --help` for detailed information.

## Subgraph Isomorphic Matcher and Nodes Fusion

With `uTensorGraphMatcher`, performing a subgraph isomorphic match, fuse or replace the match with another graph is just a few line of code!
With `uTensorGraphMatcher`, performing a subgraph isomorphic match, replace or manipulate the matched subgraph is just a few line of code!

### Node Fusion

![conv-pool-fuce](images/conv_pool_fuse.png)

- Left: Original graph
- Middle: Matched convolution layer
- Right: Replace the matched layer with specialized `QuantConvPool` node
- Left: original graph
- Middle: matched convolution layer
- Right: replace the matched layer with specialized `QuantConvPool` node

### Dropout Layer Removal

![cnn-dropout](images/cnn_dropout.png)

- Left: original graph with dropout Layers
- Middle: matched dropout layers
- Right: graph with dropout layers removed

# Examples

# Example
- [Deep Multilayer Perceptron](https://github.com/uTensor/utensor_cgen/tree/develop/tests/deep_mlp)
- [End-to-End Convolution NN](https://github.com/uTensor/simple_cnn_tutorial)

Please refer to [tests/deep_mlp](https://github.com/uTensor/utensor_cgen/tree/develop/tests/deep_mlp) for detailed example

# User Guide

Expand Down
Binary file added images/cnn_dropout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e90771a

Please sign in to comment.