@@ -153,7 +153,7 @@ auto interpolate_registrations TRTORCH_UNUSED = RegisterNodeConversionPatterns()
153
153
// align_corners not supported in TensorRT, create plugin and run layer through PyTorch
154
154
create_plugin (ctx, n, in, " linear1d" , in_shape, out_shape, out_size, std::string (" linear" ));
155
155
} else {
156
- resize_layer_size (ctx, n, in, out_shape, nvinfer1::ResizeMode::kLINEAR . true );
156
+ resize_layer_size (ctx, n, in, out_shape, nvinfer1::ResizeMode::kLINEAR , true );
157
157
}
158
158
#else
159
159
resize_layer_size (ctx, n, in, out_shape, nvinfer1::ResizeMode::kLINEAR , align_corners);
@@ -185,7 +185,7 @@ auto interpolate_registrations TRTORCH_UNUSED = RegisterNodeConversionPatterns()
185
185
// align_corners not supported in TensorRT, create plugin and run layer through PyTorch
186
186
create_plugin (ctx, n, in, " bilinear2d" , in_shape, out_shape, out_size, std::string (" bilinear" ));
187
187
} else {
188
- resize_layer_size (ctx, n, in, out_shape, nvinfer1::ResizeMode::kLINEAR . true );
188
+ resize_layer_size (ctx, n, in, out_shape, nvinfer1::ResizeMode::kLINEAR , true );
189
189
}
190
190
#else
191
191
resize_layer_size (ctx, n, in, out_shape, nvinfer1::ResizeMode::kLINEAR , align_corners);
@@ -217,7 +217,7 @@ auto interpolate_registrations TRTORCH_UNUSED = RegisterNodeConversionPatterns()
217
217
// align_corners not supported in TensorRT, create plugin and run layer through PyTorch
218
218
create_plugin (ctx, n, in, " trilinear3d" , in_shape, out_shape, out_size, std::string (" trilinear" ));
219
219
} else {
220
- resize_layer_size (ctx, n, in, out_shape, nvinfer1::ResizeMode::kLINEAR . true );
220
+ resize_layer_size (ctx, n, in, out_shape, nvinfer1::ResizeMode::kLINEAR , true );
221
221
}
222
222
#else
223
223
resize_layer_size (ctx, n, in, out_shape, nvinfer1::ResizeMode::kLINEAR , align_corners);
0 commit comments