Skip to content

Commit

Permalink
fix build typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Brookhart committed Jul 13, 2020
1 parent 1a617ba commit c61ac20
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/relay/op/nn/convolution.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
* \brief Convolution operators
*/
#include "convolution.h"
#include "convolution_make.h"

#include <tvm/relay/attrs/nn.h>
#include <tvm/relay/op.h>
Expand All @@ -32,6 +31,7 @@

#include "../../transforms/infer_layout_util.h"
#include "../op_common.h"
#include "convolution_make.h"

namespace tvm {
namespace relay {
Expand Down
3 changes: 2 additions & 1 deletion src/relay/op/nn/convolution_make.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
#ifndef TVM_RELAY_OP_NN_CONVOLUTION_MAKE_H_
#define TVM_RELAY_OP_NN_CONVOLUTION_MAKE_H_

#include <tvm/tir/analysis.h>
#include <tvm/relay/attrs/nn.h>
#include <tvm/relay/op.h>

#include <string>
#include <utility>
Expand Down
3 changes: 2 additions & 1 deletion src/relay/op/nn/pooling.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* \file pooling.cc
* \brief Pooling operators
*/
#include "pooling.h"

#include <topi/nn/pooling.h>
#include <tvm/relay/attrs/nn.h>
#include <tvm/relay/op.h>
Expand All @@ -29,7 +31,6 @@

#include <vector>

#include "pooling.h"
#include "../../transforms/infer_layout_util.h"

namespace tvm {
Expand Down
3 changes: 3 additions & 0 deletions src/relay/op/nn/pooling.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
#ifndef TVM_RELAY_OP_NN_POOLING_H_
#define TVM_RELAY_OP_NN_POOLING_H_

#include <tvm/relay/attrs/nn.h>
#include <tvm/relay/op.h>

#include <utility>

namespace tvm {
Expand Down
5 changes: 3 additions & 2 deletions src/relay/transforms/dynamic_to_static.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ namespace relay {

class DynamicToStaticMutator : public MixedModeMutator {
public:
DynamicToStaticMutator()
DynamicToStaticMutator() {}

private : Expr Rewrite_(const CallNode* pre, const Expr& post) override {
private:
Expr Rewrite_(const CallNode* pre, const Expr& post) override {
const CallNode* call_node = post.as<CallNode>();
if (call_node->op == Op::Get("dyn.reshape")) {
if (const ConstantNode* shape = call_node->args[1].as<ConstantNode>()) {
Expand Down

0 comments on commit c61ac20

Please sign in to comment.