Skip to content

Commit

Permalink
Update operators table
Browse files Browse the repository at this point in the history
  • Loading branch information
lrw04 committed Sep 12, 2023
1 parent 6be8196 commit 68b4b2d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/developer-guide/operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
* [InstanceNorm](#instancenorm)
* [Interp](#interp)
* [LayerNorm](#layernorm)
* [LinearInt8](#linearint8)
* [Log](#log)
* [LRN](#lrn)
* [LSTM](#lstm)
Expand Down Expand Up @@ -1104,6 +1105,24 @@ y = x * gamma + beta by elementwise
| gamma_data | float | [affine_size] |
| beta_data | float | [affine_size] |

# LinearInt8
```
y = x (WS)^T
```

* one_blob_only

| param id | name | type | default | description |
| --------- | ------------- | ----- | --------- | ----------------- |
| 0 | in_dim | int | 0 | |
| 1 | out_dim | int | 0 | |
| 2 | group_size | int | 0 | |

| weight | type | shape |
| ------------- | ----- | --------------------- |
| scale | float | [in_dim * out_dim / group_size] |
| weight | int8 | [in_dim, out_dim] |

# Log
```
if base == -1 y = log(shift + x * scale)
Expand Down

0 comments on commit 68b4b2d

Please sign in to comment.