[Spec] Align order of scaling formula in FakeConvert spec (#22539)
### Details: - Aligned formula of scaling in FakeConvert spec with the [POC](57d5660709/src/core/src/op/convert_fp8.cpp (L429-L436)) by @andreyanufr and reference implementation:cb679a73c9/src/core/reference/include/openvino/reference/fake_convert.hpp (L43)- Aligned with: https://github.com/openvinotoolkit/openvino/pull/22433 - It was described in the reversed order unintentionally ### Tickets: - N/A
This commit is contained in:
parent
8129b7e0e3
commit
b09026c83d
|
|
@ -29,9 +29,9 @@ Each element of the output is defined as the result of the following expression:
|
|||
.. code-block:: py
|
||||
:force:
|
||||
|
||||
data = (data + shift) / scale
|
||||
ConvertLike(Convert(data, destination_type), data)
|
||||
data = data * scale - shift
|
||||
ConvertLike(Convert(data, destination_type), data)
|
||||
data = (data + shift) / scale
|
||||
|
||||
|
||||
**Attributes**
|
||||
|
|
|
|||
Loading…
Reference in New Issue