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

 using Microsoft.AspNetCore.Mvc; using System.Xml.Linq; using System.Xml.XPath; //<table class="common-table medium js-table js-stre...