diff options
Diffstat (limited to 'src/graph/Utils.cpp')
-rw-r--r-- | src/graph/Utils.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/graph/Utils.cpp b/src/graph/Utils.cpp index 64890585e0..2835af311a 100644 --- a/src/graph/Utils.cpp +++ b/src/graph/Utils.cpp @@ -83,16 +83,16 @@ PassManager create_default_pass_manager(Target target, const GraphConfig &cfg) // Passes that mutate graph IR if(cfg.convert_to_uint8) { - pm.append(support::cpp14::make_unique<SyntheticDataTypeMutator>(), !is_target_gc); + pm.append(std::make_unique<SyntheticDataTypeMutator>(), !is_target_gc); } - pm.append(support::cpp14::make_unique<NodeFusionMutator>(), !is_target_gc); - pm.append(support::cpp14::make_unique<GroupedConvolutionMutator>()); - pm.append(support::cpp14::make_unique<InPlaceOperationMutator>(), !is_target_gc); + pm.append(std::make_unique<NodeFusionMutator>(), !is_target_gc); + pm.append(std::make_unique<GroupedConvolutionMutator>()); + pm.append(std::make_unique<InPlaceOperationMutator>(), !is_target_gc); // Passes that mutate backend information - pm.append(support::cpp14::make_unique<DepthConcatSubTensorMutator>(), !is_target_gc); - pm.append(support::cpp14::make_unique<SplitLayerSubTensorMutator>(), !is_target_gc); - pm.append(support::cpp14::make_unique<NodeExecutionMethodMutator>()); + pm.append(std::make_unique<DepthConcatSubTensorMutator>(), !is_target_gc); + pm.append(std::make_unique<SplitLayerSubTensorMutator>(), !is_target_gc); + pm.append(std::make_unique<NodeExecutionMethodMutator>()); return pm; } |