Skip to content

Commit

Permalink
Fix parameter naming that fails Doc generation. (microsoft#16717)
Browse files Browse the repository at this point in the history
### Description
Rename `FromBits` param name to match the docs.

### Motivation and Context
Fix API Doc generation.
  • Loading branch information
yuslepukhin authored Jul 17, 2023
1 parent e1ca8ee commit b8c40b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/onnxruntime/core/session/onnxruntime_cxx_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ struct Float16_t : onnxruntime_float16::Float16Impl<Float16_t> {
/// </summary>
/// <param name="v">uint16_t bit representation of bfloat16</param>
/// <returns>new instance of Float16_t</returns>
constexpr static Float16_t FromBits(uint16_t x) noexcept { return Float16_t(x); }
constexpr static Float16_t FromBits(uint16_t v) noexcept { return Float16_t(v); }

/// <summary>
/// __ctor from float. Float is converted into float16 16-bit representation.
Expand Down

0 comments on commit b8c40b7

Please sign in to comment.