Skip to content

[TFTRT] Add Dynamic Shape Testing for ConvertSquare - #40483

Merged
tensorflow-copybara merged 1 commit into
tensorflow:masterfrom
MattConley:convert_square_update
Jun 18, 2020
Merged

tensorflow-copybara merged 1 commit into
tensorflow:masterfrom
MattConley:convert_square_update

Conversation

@MattConley

Copy link
Copy Markdown
Contributor

Changes the ConvertSquare test to use the new testing API

@google-ml-butler google-ml-butler Bot added the size:M CL Change Size: Medium label Jun 15, 2020
@google-ml-butler
google-ml-butler Bot requested a review from joker-eph June 15, 2020 18:27
@gbaned gbaned self-assigned this Jun 16, 2020
@gbaned gbaned added comp:gpu:tensorrt Issues specific to TensorRT awaiting review Pull request awaiting review labels Jun 16, 2020
@bixia1
bixia1 self-requested a review June 17, 2020 18:20
const auto& inputs = params->inputs;
const auto& node_def = params->node_def;
TF_RETURN_IF_ERROR(CheckInputsWeights(*params, {{"x", false}}));
#if IS_TRT_VERSION_GE(6, 0, 1, 0)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a plan to provide a way to get the supported data types for all op converters. The code here is fine for this reason.

@google-ml-butler google-ml-butler Bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Jun 17, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jun 17, 2020

@bixia1 bixia1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would you please squash the commits into one commit?

Co-authored-by: Tamas Feher <[email protected]>

- Modify ConvertSquare tests to use newer TFTRT testing API
- Add INT32 as a supported dtype for TFTRT ConvertSquare
@MattConley
MattConley force-pushed the convert_square_update branch from a371f5a to cb61c42 Compare June 17, 2020 19:58
@google-ml-butler google-ml-butler Bot removed the ready to pull PR ready for merge process label Jun 17, 2020
@MattConley

Copy link
Copy Markdown
Contributor Author

Thanks for the review, the changes have been consolidated into one commit

@google-ml-butler google-ml-butler Bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Jun 17, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jun 17, 2020
@rthadur rthadur removed awaiting review Pull request awaiting review ready to pull PR ready for merge process labels Jun 18, 2020
@google-ml-butler google-ml-butler Bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Jun 18, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jun 18, 2020
@tensorflow-copybara
tensorflow-copybara merged commit f07f057 into tensorflow:master Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes comp:gpu:tensorrt Issues specific to TensorRT ready to pull PR ready for merge process size:M CL Change Size: Medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants