fork download
  1. from keras.models import Sequential
  2. from keras.layers import MaxPooling2D
  3.  
  4. model = Sequential()
  5. model.add(MaxPooling2D(pool_size=2, strides=2, input_shape=(100, 100, 15)))
  6. model.summary()
Success #stdin #stdout 3.13s 319264KB
stdin
Standard input is empty
stdout
Model: "sequential"
_________________________________________________________________
 Layer (type)                Output Shape              Param #   
=================================================================
 max_pooling2d (MaxPooling2D  (None, 50, 50, 15)       0         
 )                                                               
                                                                 
=================================================================
Total params: 0
Trainable params: 0
Non-trainable params: 0
_________________________________________________________________