From: Lu Fang Date: Tue, 9 Apr 2019 16:56:34 +0000 (-0700) Subject: remove interned_string.h dep (#19061) X-Git-Tag: accepted/tizen/6.5/unified/20211028.231830~316 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75d6d8833d4f5cd5eaa33b4fe68ac7db6527507f;p=platform%2Fupstream%2Fpytorch.git remove interned_string.h dep (#19061) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/19061 remove the deps on interned_string.h Reviewed By: BIT-silence Differential Revision: D14850078 fbshipit-source-id: 07e6ad72a7de369049ea56f32b72276fb4c59b32 --- diff --git a/caffe2/core/c10_operator.h b/caffe2/core/c10_operator.h index 86d8911..240a16b 100644 --- a/caffe2/core/c10_operator.h +++ b/caffe2/core/c10_operator.h @@ -1,7 +1,6 @@ #pragma once #include -#include #include #include @@ -98,7 +97,7 @@ inline c10::FunctionSchema make_function_schema_for_c10(const char* OperatorName IValue()); return c10::FunctionSchema( - Symbol::caffe2(OperatorName).toQualString(), + std::string("_caffe2::") + OperatorName, "", std::move(actual_inputs), std::move(outputs));