Question: mnist why divide by 255?
Answer: Since 255 is the maximum value, dividing by 255 expresses a 0-1 representation. ... Each color component value can also be written as a percentage, from 0% to 100%. In computers, the component values are often stored as integer numbers in the range 0 to 255, the range that a single 8-bit byte can offer.