From a603323b75c48e02e564c69c9e8647c3f9998d25 Mon Sep 17 00:00:00 2001 From: lilinjie Date: Fri, 25 Nov 2022 09:50:21 +0800 Subject: [PATCH] remove ResizeBicubic --- docs/api/api_python/mindspore.ops.primitive.rst | 1 - docs/api/api_python_en/mindspore.ops.primitive.rst | 1 - mindspore/python/mindspore/ops/operations/__init__.py | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/api/api_python/mindspore.ops.primitive.rst b/docs/api/api_python/mindspore.ops.primitive.rst index e5c3836f806..46d7b1d1911 100644 --- a/docs/api/api_python/mindspore.ops.primitive.rst +++ b/docs/api/api_python/mindspore.ops.primitive.rst @@ -227,7 +227,6 @@ MindSpore中 `mindspore.ops` 接口与上一版本相比,新增、删除和支 mindspore.ops.PSROIPooling mindspore.ops.RGBToHSV mindspore.ops.ResizeArea - mindspore.ops.ResizeBicubic mindspore.ops.ResizeBilinearV2 mindspore.ops.ROIAlign mindspore.ops.SampleDistortedBoundingBoxV2 diff --git a/docs/api/api_python_en/mindspore.ops.primitive.rst b/docs/api/api_python_en/mindspore.ops.primitive.rst index 2b4857074c4..433263dab15 100644 --- a/docs/api/api_python_en/mindspore.ops.primitive.rst +++ b/docs/api/api_python_en/mindspore.ops.primitive.rst @@ -226,7 +226,6 @@ Image Processing mindspore.ops.PSROIPooling mindspore.ops.RGBToHSV mindspore.ops.ResizeArea - mindspore.ops.ResizeBicubic mindspore.ops.ResizeBilinearV2 mindspore.ops.ROIAlign mindspore.ops.SampleDistortedBoundingBoxV2 diff --git a/mindspore/python/mindspore/ops/operations/__init__.py b/mindspore/python/mindspore/ops/operations/__init__.py index 0ee92ab1b31..44865ae58bd 100644 --- a/mindspore/python/mindspore/ops/operations/__init__.py +++ b/mindspore/python/mindspore/ops/operations/__init__.py @@ -60,7 +60,7 @@ from .custom_ops import (Custom) from .debug_ops import (ImageSummary, InsertGradientOf, HookBackward, ScalarSummary, TensorSummary, HistogramSummary, Print, Assert) from .image_ops import (CropAndResize, NonMaxSuppressionV3, HSVToRGB, AdjustHue, AdjustSaturation, - NonMaxSuppressionWithOverlaps, ResizeArea, ResizeBicubic, ResizeBilinearV2, ExtractGlimpse, + NonMaxSuppressionWithOverlaps, ResizeArea, ResizeBilinearV2, ExtractGlimpse, CombinedNonMaxSuppression, RGBToHSV, ScaleAndTranslate) from .inner_ops import (ScalarCast, Randperm, NoRepeatNGram, LambApplyOptimizerAssign, LambApplyWeightAssign, FusedWeightScaleApplyMomentum, FusedCastAdamWeightDecay, FusedAdaFactor, @@ -584,7 +584,6 @@ __all__ = [ "NonZero", "PSROIPooling", "ResizeArea", - "ResizeBicubic", "ResizeBilinearV2", "Qr", "ParameterizedTruncatedNormal",