Skip to content

[Relay] Use f-strings for string formatting, NFC#14838

Merged
kparzysz-quic merged 2 commits intoapache:mainfrom
kparzysz-quic:f-strings-4
May 13, 2023
Merged

[Relay] Use f-strings for string formatting, NFC#14838
kparzysz-quic merged 2 commits intoapache:mainfrom
kparzysz-quic:f-strings-4

Conversation

@kparzysz-quic
Copy link
Copy Markdown
Contributor

Replace uses of % and .format() with f-strings.

Reformat modified files.

@tvm-bot
Copy link
Copy Markdown
Collaborator

tvm-bot commented May 12, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

Copy link
Copy Markdown
Contributor

@slyubomirsky slyubomirsky left a comment

Choose a reason for hiding this comment

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

Thanks for tidying up the code base!

Replace uses of % and .format() with f-strings.

Reformat modified files.
@kparzysz-quic kparzysz-quic merged commit 3756b71 into apache:main May 13, 2023
@kparzysz-quic kparzysz-quic deleted the f-strings-4 branch May 13, 2023 14:20
masahi pushed a commit to masahi/tvm that referenced this pull request May 13, 2023
* [Relay] Use f-strings for string formatting, NFC

Replace uses of % and .format() with f-strings.

Reformat modified files.

* Fix typo in python/tvm/relay/frontend/tensorflow_ops.py

`0[s0_size] -> s0[s0_size]`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants