Skip to content

Commit

Permalink
remove batch_norm_inference (#2626)
Browse files Browse the repository at this point in the history
  • Loading branch information
headupinclouds authored and tqchen committed Feb 19, 2019
1 parent c59a78e commit 80f8e98
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 135 deletions.
65 changes: 0 additions & 65 deletions topi/include/topi/nn/batch_norm.h

This file was deleted.

1 change: 0 additions & 1 deletion topi/python/topi/nn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"""Neural network operators"""
from __future__ import absolute_import as _abs

from .batch_norm import *
from .conv2d import *
from .depthwise_conv2d import *
from .elemwise import *
Expand Down
56 changes: 0 additions & 56 deletions topi/python/topi/nn/batch_norm.py

This file was deleted.

13 changes: 0 additions & 13 deletions topi/src/topi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <topi/reduction.h>
#include <topi/transform.h>

#include <topi/nn/batch_norm.h>
#include <topi/nn/bnn.h>
#include <topi/nn/dense.h>
#include <topi/nn/dilate.h>
Expand Down Expand Up @@ -328,18 +327,6 @@ TVM_REGISTER_GLOBAL("topi.nn.upsampling")
*rv = nn::upsampling(args[0], args[1], args[2], args[3]);
});

/* Ops from nn/batch_norm.h */
TVM_REGISTER_GLOBAL("topi.nn.batch_norm_inference")
.set_body([](TVMArgs args, TVMRetValue *rv) {
*rv = nn::batch_norm_inference(args[0],
args[1],
args[2],
args[3],
args[4],
static_cast<double>(args[5]),
args[6]);
});

/* Ops from nn/bnn.h */
TVM_REGISTER_GLOBAL("topi.nn.binarize_pack")
.set_body([](TVMArgs args, TVMRetValue *rv) {
Expand Down

0 comments on commit 80f8e98

Please sign in to comment.