Hi What would be an equivalent code in python for this line of Matlab code
X_test = int8(single(X_test) - 127)

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 1 Mai 2019

0 Stimmen

X_test = np.int8(np.float32(X_test)-127)

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by