diff --git a/tensorflow/core/common_runtime/bfc_allocator.cc b/tensorflow/core/common_runtime/bfc_allocator.cc index 3551472e9c6..b271bc5058f 100644 --- a/tensorflow/core/common_runtime/bfc_allocator.cc +++ b/tensorflow/core/common_runtime/bfc_allocator.cc @@ -35,6 +35,7 @@ limitations under the License. namespace tensorflow { constexpr BFCAllocator::ChunkHandle BFCAllocator::kInvalidChunkHandle; +constexpr uint64 BFCAllocator::kMemDebugHistorySize; BFCAllocator::BFCAllocator(SubAllocator* sub_allocator, size_t total_memory, bool allow_growth, const string& name, diff --git a/tensorflow/core/framework/model.cc b/tensorflow/core/framework/model.cc index 4bd2af5f9c6..d48e88be011 100644 --- a/tensorflow/core/framework/model.cc +++ b/tensorflow/core/framework/model.cc @@ -25,6 +25,10 @@ limitations under the License. namespace tensorflow { namespace data { namespace model { + +constexpr int64 Model::kOptimizationPeriodMinMs; +constexpr int64 Model::kOptimizationPeriodMaxMs; + namespace { // Helper function for node traversal that doesn't skip any nodes.