Home
last modified time | relevance | path

Searched refs:MaxPool2d (Results 1 – 25 of 86) sorted by relevance

1234

/third_party/mindspore/mindspore/lite/examples/export_models/models/
DNetworkInNetwork.py37 nn.MaxPool2d(kernel_size=3, stride=2, pad_mode='same'),
48 nn.MaxPool2d(kernel_size=3, stride=2, pad_mode='same'),
Dmini_alexnet.py39 self.max_pool2d = nn.MaxPool2d(kernel_size=3, stride=2, pad_mode='valid')
/third_party/mindspore/tests/st/pynative/ms_function/
Dtest_pynative_lenet_ms_function.py46 self.max_pool2d = nn.MaxPool2d(kernel_size=2, stride=2)
63 self.max_pool2d = nn.MaxPool2d(kernel_size=2, stride=2)
113 self.max_pool2d = nn.MaxPool2d(kernel_size=2, stride=2)
/third_party/mindspore/tests/ut/python/exec/
Dtest_pooling.py28 self.maxpool = nn.MaxPool2d(kernel_size,
/third_party/mindspore/tests/ut/python/parallel/
Dtest_batchnorm_batch_parallel.py25 from mindspore.nn.layer.pooling import MaxPool2d
102 self.maxpool = MaxPool2d(kernel_size=3, stride=2, pad_mode="same")
/third_party/mindspore/tests/st/ops/cpu/
Dtest_maxpool_op.py31 self.maxpool_fun = nn.MaxPool2d(kernel_size=2, stride=2, pad_mode="VALID")
40 self.maxpool_fun2 = nn.MaxPool2d(kernel_size=3, stride=2, pad_mode="SAME")
/third_party/mindspore/tests/st/ops/gpu/
Dtest_maxpool_gpu_op.py29 self.maxpool_fun = nn.MaxPool2d(kernel_size=2, stride=2, pad_mode="VALID")
38 self.maxpool_fun = nn.MaxPool2d(kernel_size=3, stride=2, pad_mode="SAME")
Dtest_time_distributed_op.py56 pool = nn.MaxPool2d(kernel_size=3, stride=1)
146 pool = nn.MaxPool2d(kernel_size=3, stride=1)
/third_party/mindspore/tests/ut/python/pynative_mode/nn/
Dtest_pooling.py51 max_pool = nn.MaxPool2d(kernel_size, stride, pad_mode='SAME')
/third_party/mindspore/tests/ut/python/pynative_mode/ge/ops/
Dtest_pooling.py46 max_pool = nn.MaxPool2d(kernel_size, stride)
/third_party/mindspore/tests/ut/python/optimizer/
Dtest_recompute.py27 self.pool = nn.MaxPool2d(kernel_size=2, stride=2)
/third_party/mindspore/tests/st/quantization/lenet_quant/
Dlenet_fusion.py46 self.max_pool2d = nn.MaxPool2d(kernel_size=2, stride=2)
/third_party/mindspore/mindspore/nn/layer/
Dpooling.py71 class MaxPool2d(_PoolNd): class
135 super(MaxPool2d, self).__init__(kernel_size, stride, pad_mode, data_format)
/third_party/mindspore/tests/st/networks/models/resnet50/src_thor/
Dresnet.py123 … nn.ReLU(), nn.MaxPool2d(kernel_size=2, stride=2, pad_mode='same')])
150 …self.down_sample_layer = nn.SequentialCell([nn.MaxPool2d(kernel_size=2, stride=2, pad_mode='same'),
243 self.maxpool = nn.MaxPool2d(kernel_size=3, stride=2, pad_mode="same")
/third_party/mindspore/tests/ut/python/ops/
Dtest_ops_check.py48 self.max_pool2d = nn.MaxPool2d(kernel_size=2)
161 'block': nn.MaxPool2d(5, pad_mode='same'),
164 'block': nn.MaxPool2d(5, pad_mode='valid'),
/third_party/mindspore/tests/st/networks/models/
Dlenet.py30 self.pool = nn.MaxPool2d(kernel_size=2, stride=2, pad_mode="valid")
Dalexnet.py29 self.max_pool2d = nn.MaxPool2d(kernel_size=3, stride=2)
/third_party/mindspore/tests/ut/python/nn/
Dtest_pooling.py51 self.maxpool = nn.MaxPool2d(kernel_size,
/third_party/mindspore/tests/st/fl/mobile/src/
Dmodel.py56 self.max_pool2d = nn.MaxPool2d(kernel_size=2, stride=2)
/third_party/mindspore/tests/perf_test/
Dlenet.py62 self.max_pool2d = nn.MaxPool2d(kernel_size=2, stride=2)
/third_party/mindspore/tests/ut/python/model/
Dtest_lenet_core_after_exception.py37 self.max_pool2d = nn.MaxPool2d(kernel_size=2)
Dres18_example.py109 self.maxpool = nn.MaxPool2d(kernel_size=3, stride=2, pad_mode='same')
178 self.maxpool = nn.MaxPool2d(kernel_size=3, stride=2)
Dtest_lenet.py39 self.max_pool2d = nn.MaxPool2d(kernel_size=2, stride=2)
/third_party/mindspore/tests/ut/python/utils/
Dtest_checkparam.py36 self.max_pool2d = nn.MaxPool2d(kernel_size=2)
/third_party/mindspore/tests/st/fl/hybrid_lenet/src/
Dmodel.py57 self.max_pool2d = nn.MaxPool2d(kernel_size=2, stride=2)

1234