Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions backends/cadence/aot/replace_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,8 +675,8 @@ def call_operator(self, op, args, kwargs, meta):
@register_cadence_pass(CadencePassAttribute(opt_level=0))
class ReplaceAtenConvolutionWithJarvisConvolutionPass(ExportPass):
"""
Replace aten convolution op with jarvis-specific convolution op, since the
aten version is not supported by jarvis.
Replace aten convolution op with cadence-specific convolution op, since the
aten version is not supported by cadence.
Also remove convolution stride if the output size along the strided dimension
is 1. We can enable more transformations (e.g., conv -> linear replacement)
for unit-stride convolutions.
Expand Down Expand Up @@ -1896,7 +1896,7 @@ def call_operator(self, op, args, kwargs, meta):
@register_cadence_pass(CadencePassAttribute(opt_level=0))
class ReplaceAtenAvgPoolWithJarvisAvgPoolPass(ExportPass):
"""
Replace the aten avg_pool op with the jarvis custom avg_pool2d op.
Replace the aten avg_pool op with the cadence custom avg_pool2d op.
"""

def call_operator(self, op, args, kwargs, meta):
Expand Down
Loading