19-05-2023 дата публикации
Номер: CN116137533A
Принадлежит:
The invention relates to the technical field of artificial intelligence, and discloses a coding and decoding method, a medium and electronic equipment thereof. The coding method comprises the following steps: acquiring to-be-coded data; a preset coding interval where the to-be-coded data is located is determined, preset binary coding digits corresponding to the preset coding interval are determined, the data ranges of different coding intervals are different, and the smaller the absolute value of the difference between the upper limit value and the lower limit value of the coding interval is, the smaller the corresponding binary coding digits are; the to-be-coded data is coded to obtain coded data, and the binary bit number of the coded data is the determined preset binary coding bit number. In the embodiment of the invention, the smaller the absolute value of the difference between the upper limit value and the lower limit value of the coding interval is, the fewer the corresponding binary ...
Подробнее