import mxnet as mx
import numpy as np
import random
import mxnet as mx
import sys
data_shape = {'data':(60000, 1,28, 28)}
data = mx.sym.var('data')
pool0 = mx.sym.Pooling(data=data, pool_type="max", kernel=(2,2), stride=(2,2),name='pool0')
pool1 = mx.sym.Pooling(data=pool0, pool_type="max", kernel=(2,2), stride=(2,2),name='pool1')
in_shape,out_shape,uax_shape = pool1.infer_shape(**data_shape)
#pool0.list_outputs()
in_shape,out_shape,uax_shape

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-25
  • 2022-12-23
  • 2022-03-02
  • 2021-06-19
  • 2021-11-17
  • 2021-07-03
  • 2021-05-23
相关资源
相似解决方案