chore: update operators.py (#2724)
Browse files### What problem does this PR solve?
substract -> subtract
### Type of change
- [ ] Bug Fix (non-breaking change which fixes an issue)
- [ ] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [x] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
deepdoc/vision/operators.py
CHANGED
@@ -102,7 +102,7 @@ class StandardizeImage(object):
|
|
102 |
|
103 |
|
104 |
class NormalizeImage(object):
|
105 |
-
""" normalize image such as
|
106 |
"""
|
107 |
|
108 |
def __init__(self, scale=None, mean=None, std=None, order='chw', **kwargs):
|
|
|
102 |
|
103 |
|
104 |
class NormalizeImage(object):
|
105 |
+
""" normalize image such as subtract mean, divide std
|
106 |
"""
|
107 |
|
108 |
def __init__(self, scale=None, mean=None, std=None, order='chw', **kwargs):
|