Skip to content

Commit

Permalink
OP: fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
v_mmrzhang committed Nov 13, 2020
1 parent 5784e22 commit c43b3bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tflite2onnx/op/resize.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def parse(self):
logger.debug("Parsing %s...", self.type)
op = self.tflite
opcode = self.model.OperatorCodes(op.OpcodeIndex()).BuiltinCode()
assert (opcode in self.TypeMapping)
assert(opcode in self.TypeMapping)

assert(op.InputsLength() == 2), "Only first two arguments: image and size, are compulsory"
assert(op.OutputsLength() == 1)

Expand Down

0 comments on commit c43b3bb

Please sign in to comment.