Home
last modified time | relevance | path

Searched refs:MAX_MEMORY_USAGE_THRESHOLD (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dstatus.h93 const float MAX_MEMORY_USAGE_THRESHOLD = 0.95; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/
Dbatch_op.cc137 if ((num_workers_ > 1 || batch_map_func_) && GetMemoryUsage() > MAX_MEMORY_USAGE_THRESHOLD) { in operator ()()
138 … MS_LOG(WARNING) << "Memory consumption is more than " << MAX_MEMORY_USAGE_THRESHOLD * 100 << "%, " in operator ()()