fix: Bugfix for align_corners=False- FX interpolate by gs-olive · Pull Request #1561 · pytorch/TensorRT (original) (raw)

Description

When user explicitly specifies align_corners=False as an argument, it is interpreted as True, since the current check solely checks for the input not being None. The argument check has been updated to check both that the input is not None, but also that it is not False, which is required as per Torch documentation.

Fixes #1558

Type of change

Checklist: