modelActivationOnLayersPlot

fun modelActivationOnLayersPlot(model: TrainableModel, x: FloatArray, plotFeature: PlotFeature = PlotFeature.GRAY, imageSize: Int = 64, columns: Int = 8): List<Figure>

Create a list of columns plots for model activation on layers. The model is evaluated on given input and the obtained activations arrays of the following layers are converted into separated figures with columns plots of the weights for the filters in Conv2D layers

Return

list of figures representing the activations plots for model evaluation

Parameters

model

that is evaluated to get the activations on its weights

x

input for model evaluation

plotFeature

filling colors of the created plot

imageSize

size of width and height of single plot in px

columns

number of columns in which the single filters plots are arranged