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 e6c166d commit bf26011Copy full SHA for bf26011
paddle/framework/executor_test.cc
@@ -45,6 +45,7 @@ void AddOp(const std::string& type, const VariableNameMap& inputs,
45
for (auto kv : outputs) {
46
for (auto v : kv.second) {
47
auto var = block->NewVar(v);
48
+ var->SetType(VarDesc::LOD_TENSOR);
49
var->SetDataType(paddle::framework::DataType::FP32);
50
}
51
0 commit comments