Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy committed Jul 25, 2020
1 parent c690c32 commit e032686
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion include/tvm/auto_scheduler/compute_dag.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ class AccessAnalyzerNode : public Object {
* (e.g., injective, broadcast and elementwise ops without reduction) */
OperationMap<bool> is_simple_access;
/*! \brief Store whether the operation is strictly-inlineable
* (e.g., injective, broadcast and elementwise without reduction, branch or expenive operations) */
* (e.g., injective, broadcast and elementwise without reduction, branch or expenive operations)
*/
OperationMap<bool> is_strict_inlineable;
/*! \brief Store whether the operation needs multi-level tiling
* (e.g., computation-intensive ops with data reuse opportunity like matmul, conv2d) */
Expand Down
1 change: 0 additions & 1 deletion python/tvm/autotvm/task/relay_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import tvm
from .task import create
from .topi_integration import TaskExtractEnv
from .dispatcher import FallbackContext

logger = logging.getLogger('autotvm')

Expand Down
4 changes: 2 additions & 2 deletions src/auto_scheduler/compute_dag.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
#include <unordered_set>
#include <vector>

#include "utils.h"
#include "../arith/pattern_match.h"
#include "utils.h"

namespace tvm {
namespace auto_scheduler {
Expand Down Expand Up @@ -517,7 +517,7 @@ bool AccessAnalyzer::ElementWiseMatch(const te::Operation& op,
bool is_simple_access, axis_missing, axis_duplicated, same_order;
for (const auto& read : reads) {
is_simple_access = auto_scheduler::IsSimpleAccess(next_op, read, &axis_missing,
&axis_duplicated, &same_order);
&axis_duplicated, &same_order);
if (!is_simple_access || axis_missing || axis_duplicated || !same_order) {
return false;
}
Expand Down

0 comments on commit e032686

Please sign in to comment.