Thursday, April 23, 2020

Answer for Error faced while extracting outputs

https://365datascience.com/dwqa-answer/answer-for-error-faced-while-extracting-outputs/ -

Hi Manav,

Thanks for reaching out to us.

In order to use round on tensors of TensorFlow 2.1, we need to get their numpy arrays:
model.predict_on_batch(training_data['inputs']).numpy().round(1)

Best,
The 365 Team




#365datascience #DataScience #data #science #365datascience #BigData #tutorial #infographic #career #salary #education #howto #scientist #engineer #course #engineer #MachineLearning #machine #learning #certificate #udemy

No comments:

Post a Comment