Skip to content

Commit

Permalink
fix more frontend issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew committed Jun 30, 2021
1 parent ab4387f commit 8da75d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/tvm/relay/frontend/keras.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,7 @@ def _convert_upsample3d(inexpr, keras_layer, etab):
params["scale_h"] = h
params["scale_w"] = w
params["layout"] = etab.data_layout
params["coordinate_transformation_mode"] = "asymmetric"
out = _op.nn.upsampling3d(inexpr, **params)
return out

Expand Down
2 changes: 1 addition & 1 deletion python/tvm/relay/frontend/tensorflow_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ def _impl(inputs, attr, params, mod):

# Ignore the new attributes from TF2.0, for now.
return AttrCvt(
op_name="resize", ignores=["Tdim", "half_pixel_centers"], extras={"method": method}
op_name="resize2d", ignores=["Tdim", "half_pixel_centers"], extras={"method": method}
)(inputs, attr)

return _impl
Expand Down

0 comments on commit 8da75d9

Please sign in to comment.