Glossary entry (derived from question below)
English term or phrase:
wrap (см. контекст)
Russian translation:
используется циклическая арифметика
Added to glossary by
Andrew Tishin
Feb 8, 2023 06:39
1 yr ago
20 viewers *
English term
wrap (см. контекст)
English to Russian
Other
Computers: Software
To start out, I created a network with a pretty generous architecture that had 5 layers and several thousand parameters. However, I wasn't sure even that was enough. The logic circuit diagram above for the binary adder only handles a single bit; adding 8 bits to 8 bits would require a much larger number of gates, and the network would have to model all of them.
Additionally, I wasn't sure how the network would handle long chains of carries. When adding 11111111 + 00000001, for example, it **wraps** and produces an output of 00000000. In order for that to happen, the carry from the least-significant bit needs to propagate all the way through the adder to the most-significant bit. I thought that there was a good chance the network would need at least 8 layers in order to facilitate this kind of behavior.
Источник:
https://cprimozic.net/blog/reverse-engineering-a-small-neura...
Additionally, I wasn't sure how the network would handle long chains of carries. When adding 11111111 + 00000001, for example, it **wraps** and produces an output of 00000000. In order for that to happen, the carry from the least-significant bit needs to propagate all the way through the adder to the most-significant bit. I thought that there was a good chance the network would need at least 8 layers in order to facilitate this kind of behavior.
Источник:
https://cprimozic.net/blog/reverse-engineering-a-small-neura...
Proposed translations
(Russian)
3 +1 | используется циклическая арифметика | Mikhail Zavidin |
3 | (циклический) перенос | Lyudmila Raylyan |
Proposed translations
+1
3 hrs
Selected
используется циклическая арифметика
Циклическая арифметика (wraparound arithmetic)
Если команда использует циклическую арифметику и результат операции выходит за двоичную разрядную сетку используемого типа данных, то «лишние» старшие биты результата отбрасываются. Иначе говоря, если результат превышает максимально возможное значение на n единиц, то результатом считается минимальное значение + n – 1. https://www.cyberforum.ru/assembler/thread1005284-page24.htm...
Если команда использует циклическую арифметику и результат операции выходит за двоичную разрядную сетку используемого типа данных, то «лишние» старшие биты результата отбрасываются. Иначе говоря, если результат превышает максимально возможное значение на n единиц, то результатом считается минимальное значение + n – 1. https://www.cyberforum.ru/assembler/thread1005284-page24.htm...
4 KudoZ points awarded for this answer.
Comment: "Благодарю за помощь."
1 hr
(циклический) перенос
говорят еще "зацикливание". но "перенос" мне нравится больше.
--------------------------------------------------
Note added at 2 hrs (2023-02-08 09:04:44 GMT)
--------------------------------------------------
upd. добавила еще пример:
Можно задать режим округления (Roundmode) – „floor‟ – округление вниз; реакцию на переполнение (OverflowMode) – „wrap‟ – перенос, при выходе значения v из допустимого диапазона, “лишние” старшие разряды игнорируются.
сама ссылка: (https://cchgeu.ru/upload/iblock/eda/proektirovanie-ustroystv...
и ссылка №2 выше, вижу, не открывается. вот она еще раз:
https://books.google.ru/books/publisher/content?id=5qceEAAAQ...
--------------------------------------------------
Note added at 2 hrs (2023-02-08 09:04:44 GMT)
--------------------------------------------------
upd. добавила еще пример:
Можно задать режим округления (Roundmode) – „floor‟ – округление вниз; реакцию на переполнение (OverflowMode) – „wrap‟ – перенос, при выходе значения v из допустимого диапазона, “лишние” старшие разряды игнорируются.
сама ссылка: (https://cchgeu.ru/upload/iblock/eda/proektirovanie-ustroystv...
и ссылка №2 выше, вижу, не открывается. вот она еще раз:
https://books.google.ru/books/publisher/content?id=5qceEAAAQ...
Reference:
Peer comment(s):
neutral |
Mikhail Zavidin
: тут как раз такого переноса нет: 11111111 + 00000001 = 00000000
35 mins
|
я добавила ссылки. там видно, что wrap называют как раз переносом
|
Discussion
I created training data by generating random 8-bit unsigned integers and adding them together with **wrapping**. In addition to the loss computed during training of the network, I also added code to validate the network's accuracy on all 32,385 possible input combinations periodically during training to get a feel for how well it was doing overall.