We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3008aab commit d3d855fCopy full SHA for d3d855f
python/paddle/v2/fluid/tests/test_registry.py
@@ -28,4 +28,4 @@ def test_registry_layer(self):
28
exe = fluid.Executor(place)
29
X = np.random.random((10, 10)).astype("float32")
30
mean_out = exe.run(feed={"X": X}, fetch_list=[output])
31
- self.assertAlmostEqual(np.mean(X), mean_out)
+ self.assertAlmostEqual(np.mean(X), mean_out[0])
0 commit comments