[MO] Fix many spelling and grammar errors (#2543)

This commit is contained in:
Roman Donchenko authored and GitHub committed 2020-10-09 12:16:12 +03:00
1 parent af661ae0fe
commit 0e502ffb35
35 files changed
+46 -46

No files matched your search

@@ -138,7 +138,7 @@ class ShuffleChannelFusion(BackReplacementPattern):
We are able to perform the fusion if the pattern satisfies the conditions:
1. Pattern input 4D shape is the same as pattern output 4D shape
2. First Reshape splits channel dimension (1 axis) into two dimensions
3. Transpose permutes only splitted dimensions
3. Transpose permutes only split dimensions
4. Second Reshape pack them back
Fixes original models reshape-ability (Smart reshape)
@@ -208,7 +208,7 @@ class DepthToSpaceFusion(BackReplacementPattern):
We are able to perform the fusion if the pattern satisfies the conditions:
1. Pattern has 6D input and 4D output
2. First Reshape splits channel dimension (1 axis) into three dimensions [new_depth, block_size, block_size]
3. Transpose permutes splitted dimensions with spatial ones
3. Transpose permutes split dimensions with spatial ones
4. Second Reshape pack block size together with spatial dimension
Fixes original models reshape-ability (Smart reshape)
@@ -80,7 +80,7 @@ class CreateConstNodesReplacement(BackReplacementPattern):
def replace_pattern(self, graph: Graph, match: dict):
"""
Adds layers with type 'Const' that produce blob from 'bin' file. The pass finds data nodes with one output which
doesn't have edge with 'bin' attribute (or with two outputs and at least one output havent 'bin' attr)
doesn't have edge with 'bin' attribute (or with two outputs and at least one output doesn't have 'bin' attr)
and generate Const op node before the node and data node before the Const node. The data node before 'Const'
node is needed because the op node dumps input tensors to bin file.
"""