Monday, May 31, 2021

Is there any difference between tf.keras.Sequential() and tf.keras.models.Sequential() ?

 There doesn't seem to be any. 

tf.keras.Sequential() seems to be the latest way of creating sequential models, as the newer google tutorials use it. However, tf.keras.models.Sequential() is still going to be there because the basic google tutorials still use it. 

Not much info is available, but you can refer this SO post.

No comments:

Post a Comment

Misc Javascript points

 Nodejs can support multithreading through use of promises _ is the numeric separator for javascript, that means the numbers 10_000, 11.23_0...