Skip to content

Conversation

@joey12300
Copy link
Collaborator

@joey12300 joey12300 commented Aug 11, 2022

PR types

Function optimization

PR changes

APIs

Describe

Support string format args in FDASSERT.

Usage

FDASSERT(dims_size == x.shape.size(),
         "The input tensor's dimension should be equal to the dims's size. "
         "Expect dims size is %d, but receive %d.",
         x.shape.size(), dims_size);

@joey12300 joey12300 marked this pull request as ready for review August 11, 2022 07:45
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.

2 participants