Browse Source

fix quant _Observer print bug

tags/v1.1.0
yuchaojie 5 years ago
parent
commit
b74ae12ee3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/nn/layer/quant.py

+ 1
- 1
mindspore/nn/layer/quant.py View File

@@ -157,7 +157,7 @@ class _Observer(Cell):
self.quant_dtype = quant_dtype

def extend_repr(self):
s = f"dtype={self.dtype}"
s = f"quant_dtype={self.quant_dtype}"
return s

def construct(self):


Loading…
Cancel
Save