forked from mindspore-Ecosystem/mindspore
codedex clean
This commit is contained in:
parent
cae7f291c4
commit
5a0ac09117
|
@ -33,7 +33,7 @@
|
|||
#include "pipeline/jit/parse/data_converter.h"
|
||||
#include "pipeline/jit/static_analysis/auto_monad.h"
|
||||
#include "pipeline/jit/static_analysis/order_enforce.h"
|
||||
#include "pipeline/jit/static_analysis/remove_random_op_monad.h"
|
||||
#include "pipeline/jit/static_analysis/remove_monad.h"
|
||||
#include "abstract/abstract_value.h"
|
||||
#include "pipeline/jit/static_analysis/static_analysis.h"
|
||||
#include "pipeline/jit/static_analysis/program_specialize.h"
|
||||
|
|
|
@ -189,7 +189,7 @@ class OrderEnforcer {
|
|||
return real_users;
|
||||
}
|
||||
|
||||
bool IsOneOfPrimitive(const AnfNodePtr &node, const std::set<PrimitivePtr> &special_node_types) {
|
||||
bool IsOneOfPrimitive(const AnfNodePtr &node, const std::set<PrimitivePtr> &special_node_types) const {
|
||||
for (const auto &type : special_node_types) {
|
||||
if (IsPrimitiveCNode(node, type)) {
|
||||
return true;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "pipeline/jit/static_analysis/remove_random_op_monad.h"
|
||||
#include "pipeline/jit/static_analysis/remove_monad.h"
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <queue>
|
|
@ -14,8 +14,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef MINDSPORE_CCSRC_PIPELINE_JIT_REMOVE_RANDOM_OPT_MONAD_H_
|
||||
#define MINDSPORE_CCSRC_PIPELINE_JIT_REMOVE_RANDOM_OPT_MONAD_H_
|
||||
#ifndef MINDSPORE_CCSRC_PIPELINE_JIT_REMOVE_MONAD_H_
|
||||
#define MINDSPORE_CCSRC_PIPELINE_JIT_REMOVE_MONAD_H_
|
||||
|
||||
#include "ir/func_graph.h"
|
||||
|
||||
|
@ -24,4 +24,4 @@ namespace mindspore::pipeline {
|
|||
void RemoveRandomOpMonad(const FuncGraphPtr &func_graph);
|
||||
} // namespace mindspore::pipeline
|
||||
|
||||
#endif // MINDSPORE_CCSRC_PIPELINE_JIT_REMOVE_RANDOM_OPT_MONAD_H_
|
||||
#endif // MINDSPORE_CCSRC_PIPELINE_JIT_REMOVE_MONAD_H_
|
Loading…
Reference in New Issue