Searched refs:tensor_statistics (Results 1 – 2 of 2) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/debug/debugger/offline_debug/ |
D | dbg_services.cc | 308 void AddTensorStatInfo(const DebugServices::TensorStat &tensor_statistics, in AddTensorStatInfo() argument 315 …tensor_statistics.data_size, tensor_statistics.dtype, tensor_statistics.shape, tensor_statistics.i… in AddTensorStatInfo() 316 …tensor_statistics.max_value, tensor_statistics.min_value, tensor_statistics.avg_value, tensor_stat… in AddTensorStatInfo() 317 tensor_statistics.neg_zero_count, tensor_statistics.pos_zero_count, tensor_statistics.nan_count, in AddTensorStatInfo() 318 tensor_statistics.neg_inf_count, tensor_statistics.pos_inf_count, tensor_statistics.zero_count); in AddTensorStatInfo() 328 DebugServices::TensorStat tensor_statistics; in ReadTensorsStat() local 329 AddTensorStatInfo(tensor_statistics, &tensors_read_stat); in ReadTensorsStat() 332 DebugServices::TensorStat tensor_statistics = debug_services_->GetTensorStatistics(result); in ReadTensorsStat() local 333 AddTensorStatInfo(tensor_statistics, &tensors_read_stat); in ReadTensorsStat()
|
/third_party/mindspore/mindspore/ccsrc/debug/debugger/ |
D | debugger.cc | 948 Statistics *tensor_statistics = tensor_summary_item.mutable_statistics(); in AddTensorStatInfo() local 949 tensor_statistics->set_is_bool(tensor_stat.is_bool); in AddTensorStatInfo() 950 tensor_statistics->set_max_value(static_cast<float>(tensor_stat.max_value)); in AddTensorStatInfo() 951 tensor_statistics->set_min_value(static_cast<float>(tensor_stat.min_value)); in AddTensorStatInfo() 952 tensor_statistics->set_avg_value(static_cast<float>(tensor_stat.avg_value)); in AddTensorStatInfo() 953 tensor_statistics->set_count(tensor_stat.count); in AddTensorStatInfo() 954 tensor_statistics->set_neg_zero_count(tensor_stat.neg_zero_count); in AddTensorStatInfo() 955 tensor_statistics->set_pos_zero_count(tensor_stat.pos_zero_count); in AddTensorStatInfo() 956 tensor_statistics->set_nan_count(tensor_stat.nan_count); in AddTensorStatInfo() 957 tensor_statistics->set_neg_inf_count(tensor_stat.neg_inf_count); in AddTensorStatInfo() [all …]
|