Skip to content

Commit b8c40b7

Browse files
authored
Fix parameter naming that fails Doc generation. (microsoft#16717)
### Description Rename `FromBits` param name to match the docs. ### Motivation and Context Fix API Doc generation.
1 parent e1ca8ee commit b8c40b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/onnxruntime/core/session/onnxruntime_cxx_api.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ struct Float16_t : onnxruntime_float16::Float16Impl<Float16_t> {
183183
/// </summary>
184184
/// <param name="v">uint16_t bit representation of bfloat16</param>
185185
/// <returns>new instance of Float16_t</returns>
186-
constexpr static Float16_t FromBits(uint16_t x) noexcept { return Float16_t(x); }
186+
constexpr static Float16_t FromBits(uint16_t v) noexcept { return Float16_t(v); }
187187

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

0 commit comments

Comments
 (0)