• Rob Earhart's avatar
    Replace get_arguments().at(x) with get_argument(x) · 71d5ced5
    Rob Earhart authored
    This came up while debugging memory corruption in the ngraph-tf tests: plaidml_ops_replicate was holding onto
    a reference to a temporary that was destroyed while the reference was still live.  Replacing that code with a
    call to get_argument() eliminated the temporary and fixed the issue.  And in general, there's no reason to be
    allocating temporary vectors when we're pulling out a single argument, so this change replaces the other
    sequences of get_arguments().at(), too.
    71d5ced5
Name
Last commit
Last update
.ci Loading commit data...
cmake Loading commit data...
contrib/docker Loading commit data...
doc Loading commit data...
licenses Loading commit data...
maint Loading commit data...
python Loading commit data...
src Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
ABOUT.md Loading commit data...
CMakeLists.txt Loading commit data...
CODEOWNERS Loading commit data...
CONTRIB.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
VERSION.in Loading commit data...
changes.md Loading commit data...
ecosystem-overview.md Loading commit data...