From 4db81c36741cc42385d0d56ed9483fd8b9c398b1 Mon Sep 17 00:00:00 2001 From: Shingo Kitagawa Date: Sat, 18 May 2019 14:01:10 +0900 Subject: [PATCH] remove unused lines --- chainercv/links/model/resnet/resnet.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/chainercv/links/model/resnet/resnet.py b/chainercv/links/model/resnet/resnet.py index 9d9fae271e..0e1b0b9756 100644 --- a/chainercv/links/model/resnet/resnet.py +++ b/chainercv/links/model/resnet/resnet.py @@ -203,14 +203,6 @@ def __init__(self, n_layer, if path: chainer.serializers.load_npz(path, self) - @classmethod - def preset_param(cls, preset_param): - if preset_param is None: - return None - param = cls._params[preset_param].copy() - param = dict(param, **cls._default_param) - return param - class ResNet50(ResNet):