Skip to content

Commit

Permalink
Added "Model name: $name" line (if name is not null) to summary met…
Browse files Browse the repository at this point in the history
…hod Kotlin#120
  • Loading branch information
dosier committed Jun 15, 2021
1 parent 6347d65 commit fba4e3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,9 @@ public class Functional(vararg layers: Layer) : GraphTrainableModel(*layers) {
check(isModelCompiled) { "The model is not compiled yet. Compile the model to use this method." }

logger.info("==========================================================================================================")
logger.info("Model: Functional")
logger.info("Model type: Functional")

This comment has been minimized.

Copy link
@dosier

dosier Jun 16, 2021

Author Owner

Whoops I will remove the 'type' part

This comment has been minimized.

Copy link
@dosier

dosier Jun 16, 2021

Author Owner

Or add the 'type' part to the Sequential one as well.

This comment has been minimized.

Copy link
@zaleslaw

zaleslaw Jun 21, 2021

add type to sequential please

if (name != null)
logger.info("Model name: $name")
logger.info("__________________________________________________________________________________________________________")
logger.info("Layer (type) Output Shape Param # Connected to ")
logger.info("==========================================================================================================")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ public class Sequential(vararg layers: Layer) : GraphTrainableModel(*layers) {

logger.info("===========================================================================")
logger.info("Model: Sequential")
if (name != null)
logger.info("Model name: $name")
logger.info("___________________________________________________________________________")
logger.info("Layer (type) Output Shape Param # ")
logger.info("===========================================================================")
Expand Down

0 comments on commit fba4e3f

Please sign in to comment.