Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
siju-samuel committed Apr 14, 2020
1 parent fa1b859 commit e341c07
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/target/intrin_rule.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
s/*
* 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
Expand Down Expand Up @@ -96,14 +96,6 @@ TVM_REGISTER_GLOBAL("tvm.intrin.rule.default.sigmoid")
*rv = one / (one + exp(-call->args[0]));
});

TVM_REGISTER_GLOBAL("tvm.intrin.rule.default.nan")
.set_body([](const TVMArgs& args, TVMRetValue* rv){
PrimExpr e = args[0];
const CallNode* call = e.as<CallNode>();
CHECK(call != nullptr);
*rv = isnan(call->args[0]);
});

TVM_REGISTER_GLOBAL("tvm.intrin.rule.default.isfinite")
.set_body([](const TVMArgs& args, TVMRetValue* rv){
PrimExpr e = args[0];
Expand Down

0 comments on commit e341c07

Please sign in to comment.