size op fixed

Signed-off-by: raver119 <raver119@gmail.com>
master
raver119 2020-03-23 17:02:03 +03:00
parent 55ec207eb8
commit 226f0672bc
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ namespace sd {
REQUIRE_TRUE(output->isScalar(), 0, "Size output should be scalar"); REQUIRE_TRUE(output->isScalar(), 0, "Size output should be scalar");
output->p(0, input->lengthOf()); output->p(0, input->lengthOf());
output->syncToDevice();
return Status::OK(); return Status::OK();
} }