Skip to content

Commit 6552f10

Browse files
committed
chore: Apply linting
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 8d16055 commit 6552f10

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

core/conversion/conversion.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ namespace conversion {
2020
bool isNodeConversionIgnored(const torch::jit::Node* n);
2121

2222
bool OpSupported(const torch::jit::Node* n) {
23-
return evaluators::shouldEvalAtConversionTime(n)
24-
|| converters::node_is_convertable(n)
25-
|| n->kind() == torch::jit::prim::Loop
26-
|| n->kind() == torch::jit::prim::If;
23+
return evaluators::shouldEvalAtConversionTime(n) || converters::node_is_convertable(n) ||
24+
n->kind() == torch::jit::prim::Loop || n->kind() == torch::jit::prim::If;
2725
}
2826

2927
c10::optional<torch::jit::IValue> EvaluateNode(ConversionCtx* ctx, const torch::jit::Node* n, int level, int limit) {

0 commit comments

Comments
 (0)