Browse Source

change type name used in dump file name to align with new Ascend

pull/15988/head
John Tzanakakis 5 years ago
parent
commit
f8231412fe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/debug/tensor_load.h

+ 1
- 1
mindspore/ccsrc/debug/tensor_load.h View File

@@ -175,7 +175,7 @@ class TensorLoader {
std::string file_extension = ".bin";
std::string path = "";
if (trans_flag) {
path = filepath + '_' + shape + '_' + TypeIdLabel(host_type) + '_' + host_fmt + file_extension;
path = filepath + '_' + shape + '_' + TypeIdToType(host_type)->ToString() + '_' + host_fmt + file_extension;
} else {
path = filepath + '_' + shape + '_' + TypeIdToType(addr_type_id)->ToString() + '_' + addr_format + file_extension;
}


Loading…
Cancel
Save