Skip to content

Commit fa04a76

Browse files
committed
Merge branch 'develop' into mklml
2 parents 86ed4ef + 45aefbc commit fa04a76

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ Please refer to our [release announcement](https://github.com/PaddlePaddle/Paddl
6262
## Installation
6363

6464
It is recommended to check out the
65-
[Docker installation guide](http://www.paddlepaddle.org/docs/develop/documentation/en/getstarted/build_and_install/docker_install_en.html)
65+
[Docker installation guide](http://www.paddlepaddle.org/docs/develop/documentation/fluid/en/build_and_install/docker_install_en.html)
6666
before looking into the
67-
[build from source guide](http://www.paddlepaddle.org/docs/develop/documentation/en/getstarted/build_and_install/build_from_source_en.html).
67+
[build from source guide](http://www.paddlepaddle.org/docs/develop/documentation/fluid/en/build_and_install/build_from_source_en.html).
6868

6969
## Documentation
7070

paddle/fluid/framework/details/computation_op_handle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct ComputationOpHandle : public OpHandleBase {
3636
protected:
3737
void RunImpl() override;
3838

39-
virtual bool NeedWait(VarHandleBase *in_var);
39+
bool NeedWait(VarHandleBase *in_var) override;
4040

4141
private:
4242
std::unique_ptr<OperatorBase> op_;

paddle/fluid/framework/details/fetch_op_handle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ struct FetchOpHandle : public OpHandleBase {
4242
protected:
4343
void RunImpl() override;
4444

45-
virtual void WaitInputVarGenerated(const platform::Place &place);
45+
void WaitInputVarGenerated(const platform::Place &place) override;
4646

4747
private:
4848
FeedFetchList *data_;

python/paddle/fluid/tests/unittests/test_network_with_dtype.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525

2626
class TestNetWithDtype(unittest.TestCase):
27-
def setUp(self):
27+
def set_network(self):
2828
self.dtype = "float64"
2929
self.init_dtype()
3030
self.x = fluid.layers.data(name='x', shape=[13], dtype=self.dtype)
@@ -55,12 +55,14 @@ def init_dtype(self):
5555
pass
5656

5757
def test_cpu(self):
58+
self.set_network()
5859
place = fluid.CPUPlace()
5960
self.run_net_on_place(place)
6061

6162
def test_gpu(self):
6263
if not core.is_compiled_with_cuda():
6364
return
65+
self.set_network()
6466
place = fluid.CUDAPlace(0)
6567
self.run_net_on_place(place)
6668

0 commit comments

Comments
 (0)