From 83412f403a8bb15238d092bbae83ad565226fb26 Mon Sep 17 00:00:00 2001 From: Abhinav Arora Date: Wed, 14 Feb 2018 13:24:46 -0800 Subject: [PATCH] Fix uniform_random_op.cc --- paddle/fluid/operators/uniform_random_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/uniform_random_op.cc b/paddle/fluid/operators/uniform_random_op.cc index 3a7fbc7e5e..b98ffb401b 100644 --- a/paddle/fluid/operators/uniform_random_op.cc +++ b/paddle/fluid/operators/uniform_random_op.cc @@ -99,7 +99,7 @@ uniform distribution. "0 means use a seed generated by the system.") .SetDefault(0); AddAttr("dtype", "(int, default 5(FP32)) Output tensor data type") - .SetDefault(framework::proto::VarType::Type::FP32); + .SetDefault(framework::proto::VarType::FP32); } }; } // namespace operators -- GitLab