nlintz / TensorFlow-Tutorials

Simple tutorials using Google's TensorFlow Framework
6k stars 1.52k forks source link

fix bug of using nce_loss #78

Closed SmartAI closed 7 years ago

hunkim commented 7 years ago

Thanks! Can you check the error message?

TypeError: Input 'y' of 'Mul' Op has type float32 that does not match type int32 of argument 'x'.

SmartAI commented 7 years ago

Sorry for this pr, this is due to API changed from tensorflow 0.12.1 to 1.0.0 alpha.