forked from mindspore-Ecosystem/mindspore
!39569 Fix code warnings for tensor_data and debug_services
Merge pull request !39569 from maning202007/fix_codeDEX_master
This commit is contained in:
commit
eb3efea657
|
@ -1114,7 +1114,7 @@ DebugServices::NPYFilePool DebugServices::PreProcessDumpDirSync(const std::strin
|
|||
|
||||
void DebugServices::ProcessConvertList(const DumpFileMap &dump_dir_mapped_files,
|
||||
const std::string &prefix_dump_file_name, const std::string &specific_dump_dir,
|
||||
DirMap *dir_to_files_map, NPYFilePool *const result_list) const {
|
||||
DirMap *dir_to_files_map, NPYFilePool *const result_list) {
|
||||
MS_EXCEPTION_IF_NULL(dir_to_files_map);
|
||||
auto it = dump_dir_mapped_files.find(specific_dump_dir);
|
||||
if (it == dump_dir_mapped_files.end()) {
|
||||
|
|
|
@ -409,12 +409,12 @@ class DebugServices {
|
|||
std::vector<unsigned int> device_id, std::vector<unsigned int> iteration,
|
||||
std::vector<unsigned int> root_graph_id, NPYFilePool *const result_list);
|
||||
|
||||
void ConvertWatchPointNodes(const DumpFileMap &dump_dir_mapped_files, const std::vector<ProtoDump> &proto_dump,
|
||||
const std::string &specific_dump_dir, NPYFilePool *const result_list);
|
||||
static void ConvertWatchPointNodes(const DumpFileMap &dump_dir_mapped_files, const std::vector<ProtoDump> &proto_dump,
|
||||
const std::string &specific_dump_dir, NPYFilePool *const result_list);
|
||||
|
||||
void ProcessConvertList(const DumpFileMap &dump_dir_mapped_files, const std::string &prefix_dump_file_name,
|
||||
const std::string &specific_dump_dir, DirMap *dir_to_files_map,
|
||||
NPYFilePool *const result_list) const;
|
||||
static void ProcessConvertList(const DumpFileMap &dump_dir_mapped_files, const std::string &prefix_dump_file_name,
|
||||
const std::string &specific_dump_dir, DirMap *dir_to_files_map,
|
||||
NPYFilePool *const result_list);
|
||||
|
||||
void GetTensorDataInfoAsync(const std::vector<ProtoDump> &proto_dump, const std::string &specific_dump_dir,
|
||||
uint32_t iteration, uint32_t device_id, uint32_t root_graph_id,
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include <vector>
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include "base/float16.h"
|
||||
#include "mindspore/core/utils/log_adapter.h"
|
||||
#include "mindspore/core/mindapi/base/type_id.h"
|
||||
#ifdef ONLINE_DBG_MODE
|
||||
|
|
Loading…
Reference in New Issue