You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/12/22 00:13:46 UTC

[GitHub] [incubator-mxnet] marcoabreu commented on a change in pull request #19675: [REFACTOR] Refactor tests/python/mkl/test_subgraph.py to utilize Gluon API

marcoabreu commented on a change in pull request #19675:
URL: https://github.com/apache/incubator-mxnet/pull/19675#discussion_r546995848



##########
File path: tests/python/mkl/subgraphs/test_conv_subgraph.py
##########
@@ -0,0 +1,723 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+import copy
+import mxnet as mx
+import pytest
+from subgraph_common import check_fusion, check_neg_fusion, check_quantize
+from subgraph_common import CustomNormalInit, DATA_SHAPE, RELU6, TailNegBlock
+from subgraph_common import DATA_SHAPE, SG_PASS_NAME, QUANTIZE_SG_PASS_NAME
+from mxnet.contrib import quantization
+from mxnet.gluon import nn
+from mxnet.test_utils import assert_almost_equal, assert_almost_equal_with_err
+
+def test_float64_fallback():

Review comment:
       with_seed annotation




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org