importunittestimportnumpyasnpfrompaddle.v2.fluid.executorimportExecutorimportpaddle.v2.fluid.coreascoreimportpaddle.v2.fluid.layersaspdclassTestSumOp(unittest.TestCase):deftest_tensor(self):i=pd.zeros(shape=[2,10],dtype='float32')pd.Print(i,message="I am a message",summarize=10)cpu=core.CPUPlace()exe=Executor(cpu)exe.run()if__name__=='__main__':unittest.main()