@@ -41,32 +41,32 @@ class InferMetaContext {
4141 const MetaConfig& GetMetaConfig () const ;
4242
4343 void EmplaceBackInput (MetaTensor input);
44- TEST_API void EmplaceBackOutput (MetaTensor output);
45- TEST_API void EmplaceBackAttr (Attribute attr);
44+ void EmplaceBackOutput (MetaTensor output);
45+ void EmplaceBackAttr (Attribute attr);
4646
4747 void EmplaceBackInputs (
4848 paddle::small_vector<MetaTensor, phi::kInputSmallVectorSize > inputs);
4949 void EmplaceBackOutputs (
5050 paddle::small_vector<MetaTensor, phi::kOutputSmallVectorSize > outputs);
5151
52- TEST_API virtual const MetaTensor& InputAt (size_t idx) const ;
52+ virtual const MetaTensor& InputAt (size_t idx) const ;
5353
54- TEST_API virtual std::vector<const MetaTensor*> InputsBetween (
55- size_t start, size_t end) const ;
56- TEST_API virtual paddle::optional<std::vector<const MetaTensor*>>
54+ virtual std::vector<const MetaTensor*> InputsBetween (size_t start,
55+ size_t end) const ;
56+ virtual paddle::optional<std::vector<const MetaTensor*>>
5757 OptionalInputsBetween (size_t start, size_t end) const ;
5858
59- TEST_API virtual MetaTensor* MutableOutputAt (size_t idx);
60- TEST_API virtual std::vector<MetaTensor*> MutableOutputBetween (size_t start,
61- size_t end);
59+ virtual MetaTensor* MutableOutputAt (size_t idx);
60+ virtual std::vector<MetaTensor*> MutableOutputBetween (size_t start,
61+ size_t end);
6262
6363 template <typename AttrType>
64- TEST_API const AttrType& AttrAt (size_t idx) const ;
64+ const AttrType& AttrAt (size_t idx) const ;
6565
66- TEST_API const Attribute& AttrAt (size_t idx) const ;
66+ const Attribute& AttrAt (size_t idx) const ;
6767
6868 const std::pair<int , int >& InputRangeAt (size_t idx) const ;
69- TEST_API const std::pair<int , int >& OutputRangeAt (size_t idx) const ;
69+ const std::pair<int , int >& OutputRangeAt (size_t idx) const ;
7070
7171 virtual ~InferMetaContext () = default ;
7272
0 commit comments