TfModelSummary
data class TfModelSummary(type: String, name: String?, layersSummaries: List<LayerSummary>, trainableParamsCount: Long, frozenParamsCount: Long) : ModelSummary
Content copied to clipboard
The common information about model.
Constructors
TfModelSummary
Link copied to clipboard
fun TfModelSummary(type: String, name: String?, layersSummaries: List<LayerSummary>, trainableParamsCount: Long, frozenParamsCount: Long)
Content copied to clipboard
Functions
customFormat
Link copied to clipboard
fun customFormat(layerNameColumnName: String = "Layer (type) ", outputShapeColumnName: String = "Output Shape ", paramsCountColumnName: String = "Param # ", connectedToColumnName: String = "Connected to ", columnSeparator: String = " ", lineSeparatorSymbol: Char = '_', thickLineSeparatorSymbol: Char = '=', withConnectionsColumn: Boolean = layersSummaries.any { it.inboundLayers.size > 1 }): List<String>
Content copied to clipboard
Formats model summary
Properties
frozenParamsCount
Link copied to clipboard
layersSummaries
Link copied to clipboard
totalParamsCount
Link copied to clipboard
trainableParamsCount
Link copied to clipboard