... and cast X_train_enc, Y_train, X_test_enc, and Y_test to float32: >>> import tensorflow as tf >>> X_train_enc = X_train_enc.toarray().astype('float32') > ...
確定! 回上一頁