mirror of https://github.com/llvm/torch-mlir
Use double quotes instead of single quotes (#918)
parent
c1da9edcf0
commit
298d095acf
|
@ -219,7 +219,7 @@ def emit_ops(emitter_td: TextEmitter, registry: Registry):
|
|||
emit_op(operator, emitter_td, **kwargs)
|
||||
ns, unqual, overload = operator.triple
|
||||
# Underscore variant of functional ops should have "functional" part removed.
|
||||
is_functional_op = overload == 'functional'
|
||||
is_functional_op = overload == "functional"
|
||||
emit_op(registry.get_by_triple((ns, unqual + "_", overload if not is_functional_op else "")),
|
||||
emitter_td,
|
||||
traits=["IsTrailingUnderscoreInplaceVariant"] if not is_functional_op else [])
|
||||
|
|
Loading…
Reference in New Issue