![]() compile ( optimizer = 'adam', loss = 'sparse_categorical_crossentropy', metrics = 'accuracy' ) model. dense2 ( x ) return x model = MyModel () model. Dense ( 5, activation = 'softmax' ) def call ( self, xb ): x = self. Conv2D ( 64, ( 3, 3 ), activation = 'relu' ) self. Conv2D ( 32, ( 3, 3 ), activation = 'relu' ) self. Model ): def _init_ ( self ): super ( MyModel, self ). # Using Subclass API without transfer learning
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |