Browse Source

Release mem.

tags/v1.3.0
zhaozhixuan 4 years ago
parent
commit
58086ab187
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/hybrid/executor/subgraph_executor.h

+ 1
- 1
ge/hybrid/executor/subgraph_executor.h View File

@@ -41,7 +41,7 @@ class SubgraphExecutor {

Status PartialExecuteAsync(int task_group);

void ResetContext() { subgraph_context_.release(); }
void ResetContext() { subgraph_context_.reset(nullptr); }

/**
* Execute subgraph async, output tensor address(not data) and output tensor descriptions are


Loading…
Cancel
Save