Fix issue preventing debug mode from working.
Some constants were declared but not defined. This worked in opt mode as they were inlined, but not debug mode. PiperOrigin-RevId: 355967655 Change-Id: I9d0a4b7a91f98fa35b73f218c31177b90044e37b
This commit is contained in:
parent
739392739a
commit
e1c5fa72f2
@ -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,
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user