one micro fix

Signed-off-by: raver119 <raver119@gmail.com>
master
raver119 2020-02-27 19:28:26 +03:00
parent 31e3a2f7a5
commit 358c650b62
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ namespace nd4j {
block->setInnerTime(outerTime);
}
if (Environment::getInstance()->isProfiling() && !block->isFastPath()) {
if (Environment::getInstance()->isProfiling() && block->getVariableSpace() != nullptr) {
auto fp = block->getVariableSpace()->flowPath();
if (fp != nullptr) {
auto p = fp->profile();