Skip to content

Commit

Permalink
kQIdentity = 0
Browse files Browse the repository at this point in the history
  • Loading branch information
vinx13 committed Jul 30, 2019
1 parent 0dd38e7 commit 493d14b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/tvm/relay/quantize/quantize.py
Expand Up @@ -32,10 +32,10 @@
class QAnnotateKind(object):
"""Denote the kind of annotation field, corresponding
to different nbit configure."""
IDENTITY = 0
INPUT = 1
WEIGHT = 2
ACTIVATION = 3
IDENTITY = 4


def kind2str(kind):
Expand Down
4 changes: 2 additions & 2 deletions src/relay/pass/quantize/quantize.h
Expand Up @@ -37,10 +37,10 @@ namespace quantize {

/*! \brief Kind of annotate field */
enum QAnnotateKind : int {
kQIdentity = 0,
kQInput = 1,
kQWeight = 2,
kQActivation = 3,
kQIdentity = 4
kQActivation = 3
};

/*! \brief Attribute for simulated quantize operator */
Expand Down

0 comments on commit 493d14b

Please sign in to comment.