mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Fix broken code after cherrypick
This commit is contained in:
parent
93bde75f29
commit
8badcc59dd
|
|
@ -711,6 +711,10 @@ class Subgraph {
|
|||
|
||||
// A map of resources. Owned by interpreter and shared by multiple subgraphs.
|
||||
resource::ResourceMap* resources_ = nullptr;
|
||||
|
||||
// Whether the subgraph is currently in use (e.g. running the `Invoke`
|
||||
// or `AllocateTensors` functions).
|
||||
bool is_subgraph_in_use_ = false;
|
||||
};
|
||||
|
||||
} // namespace impl
|
||||
|
|
@ -721,10 +725,5 @@ using Subgraph = tflrt::Subgraph;
|
|||
using Subgraph = impl::Subgraph;
|
||||
#endif
|
||||
|
||||
// Whether the subgraph is currently in use (e.g. running the `Invoke`
|
||||
// or `AllocateTensors` functions).
|
||||
bool is_subgraph_in_use_ = false;
|
||||
};
|
||||
|
||||
} // namespace tflite
|
||||
#endif // TENSORFLOW_LITE_CORE_SUBGRAPH_H_
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user