"...resnet50_tensorflow.git" did not exist on "cf86fd97f7e805ac092db4ca2f86a133327aed47"
Commit f730c3fb authored by Rostyslav Geyyer's avatar Rostyslav Geyyer
Browse files

Add comments on rounding modes

parent f1c2ec74
...@@ -11,6 +11,8 @@ using f8_t = uint8_t; ...@@ -11,6 +11,8 @@ using f8_t = uint8_t;
using half_t = _Float16; using half_t = _Float16;
// fp8 rounding modes // fp8 rounding modes
// use standard for rounding to nearest, the faster one
// use stochastic for stochastic rounding, helps to avoid error accumulation
enum class f8_rounding_mode enum class f8_rounding_mode
{ {
standard, standard,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment