/third_party/mindspore/mindspore/lite/src/delegate/tensorrt/op/ |
D | resize_tensorrt.cc | 25 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 50 MS_LOG(ERROR) << "create transpose layer failed for " << op_name_; in AddInnerOp() 53 transpose_layer->setName((op_name_ + "_transpose_in").c_str()); in AddInnerOp() 60 MS_LOG(ERROR) << "create resize layer failed for " << op_name_; in AddInnerOp() 65 MS_LOG(ERROR) << "SetOutputDims failed for " << op_name_; in AddInnerOp() 71 MS_LOG(ERROR) << "SetParams failed for " << op_name_; in AddInnerOp() 75 resize_layer->getOutput(0)->setName((op_name_ + "_output").c_str()); in AddInnerOp() 84 MS_LOG(ERROR) << "convert failed " << op_name_; in SetOutputDims() 98 MS_LOG(ERROR) << "no output shape tensor found for " << op_name_; in SetOutputDims() 104 MS_LOG(ERROR) << "output shape tensor value is invalid for " << op_name_; in SetOutputDims() [all …]
|
D | pool_tensorrt.cc | 26 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 51 MS_LOG(ERROR) << "ParseParams failed for : " << op_name_; in AddInnerOp() 66 transpose_layer_in->setName((op_name_ + "_transpose2NCHW").c_str()); in AddInnerOp() 78 pooling_layer->setName(op_name_.c_str()); in AddInnerOp() 90 activation_layer->setName((op_name_ + "_activation").c_str()); in AddInnerOp() 92 activation_layer->getOutput(0)->setName((op_name_ + "_output").c_str()); in AddInnerOp() 103 MS_LOG(ERROR) << "convert PoolFusion failed: " << op_name_; in ParseParams() 110 MS_LOG(ERROR) << "get kernel size failed: " << op_name_; in ParseParams() 117 MS_LOG(ERROR) << "get stride failed: " << op_name_; in ParseParams() 124 MS_LOG(ERROR) << "get padding failed: " << op_name_; in ParseParams() [all …]
|
D | pad_tensorrt.cc | 27 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 39 MS_LOG(ERROR) << "invalid pad tensor for: " << op_name_; in IsSupport() 44 MS_LOG(ERROR) << "convert PadFusion failed: " << op_name_; in IsSupport() 49 MS_LOG(ERROR) << "Unsupported padding mode: " << pad_primitive << ", for op: " << op_name_; in IsSupport() 78 transpose_layer_in->setName((op_name_ + "_transpose2NCHW").c_str()); in AddInnerOp() 90 …NG) << "tensorrt padding only support pad at HW index, unsupported padding value of: " << op_name_; in AddInnerOp() 99 MS_LOG(ERROR) << "need check for pad_tensor dims: " << op_name_ in AddInnerOp() 104 MS_LOG(ERROR) << "add padding layer failed for " << op_name_; in AddInnerOp() 107 padding_layer->setName(op_name_.c_str()); in AddInnerOp() 108 padding_layer->getOutput(0)->setName((op_name_ + "_output").c_str()); in AddInnerOp()
|
D | gather_tensorrt.cc | 26 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 60 MS_LOG(DEBUG) << "gather input is const tensor " << op_name_; in AddInnerOp() 63 MS_LOG(ERROR) << "get gather input failed for: " << op_name_; in AddInnerOp() 70 MS_LOG(DEBUG) << "gather indices is const tensor " << op_name_; in AddInnerOp() 73 MS_LOG(ERROR) << "get gather indices failed for: " << op_name_; in AddInnerOp() 86 transpose_layer_in->setName((op_name_ + "_transpose2NHWC").c_str()); in AddInnerOp() 97 gather_layer->setName(op_name_.c_str()); in AddInnerOp() 98 gather_layer->getOutput(0)->setName((op_name_ + "_output").c_str()); in AddInnerOp()
|
D | shuffle_tensorrt.cc | 26 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 83 MS_LOG(ERROR) << "create transpose layer failed for " << op_name_; in AddInnerOp() 85 transpose_layer->setName((op_name_ + "_transpose_in").c_str()); in AddInnerOp() 91 MS_LOG(ERROR) << "create transpose layer failed for " << op_name_; in AddInnerOp() 93 transpose_layer->setName((op_name_ + "_transpose_in").c_str()); in AddInnerOp() 97 MS_LOG(ERROR) << "invalid input format for " << op_name_; in AddInnerOp() 110 shuffle_layer->setName(op_name_.c_str()); in AddInnerOp() 135 MS_LOG(ERROR) << "Unsupported op type for " << op_name_; in AddInnerOp() 139 MS_LOG(ERROR) << "AddOp failed for " << op_name_; in AddInnerOp() 148 out_tensor->setName((op_name_ + "_output").c_str()); in AddInnerOp() [all …]
|
D | elementwise_tensorrt.cc | 25 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 42 MS_LOG(ERROR) << "convert to Eltwise failed: " << op_name_; in IsSupport() 55 MS_LOG(ERROR) << "unsupported type for ElementWise op" << op_name_; in IsSupport() 71 MS_LOG(ERROR) << "invalid all input tensor shape unknown for: " << op_name_; in IsSupport() 89 MS_LOG(ERROR) << "AddConstTensor failed for " << op_name_; in AddInnerOp() 110 transpose_layer->setName((op_name_ + "_input_transpose2NHWC").c_str()); in AddInnerOp() 114 MS_LOG(ERROR) << "elementwise op inputs are in different format: " << op_name_; in AddInnerOp() 132 cal_layer->setName(op_name_.c_str()); in AddInnerOp() 156 op_out_tensor->setName((op_name_ + "_output").c_str()); in AddInnerOp() 203 MS_LOG(DEBUG) << "no activation need for: " << op_name_; in AddActivation() [all …]
|
D | scale_tensorrt.cc | 31 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 69 MS_LOG(ERROR) << "PreProcessInputTensor failed: " << op_name_; in AddInnerOp() 109 MS_LOG(ERROR) << "addScaleNd failed for: " << op_name_; in AddInnerOp() 112 cal_layer->setName(op_name_.c_str()); in AddInnerOp() 122 activation_layer->setName((op_name_ + "_activation").c_str()); in AddInnerOp() 131 op_out_tensor->setName((op_name_ + "_output").c_str()); in AddInnerOp() 155 transpose_layer_in->setName((op_name_ + "_transpose2NCHW").c_str()); in PreProcessInputTensor() 166 transpose_layer_in->setName((op_name_ + "_transpose2NHWC").c_str()); in PreProcessInputTensor() 188 MS_LOG(ERROR) << "ScaleMode create failed: " << op_name_; in GetScaleMode() 191 …MS_LOG(DEBUG) << op_name_ << " ScaleMode(UNIFORM 0, CHANNEL 1, ELEMENTWISE 2): " << static_cast<in… in GetScaleMode() [all …]
|
D | slice_tensorrt.cc | 25 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 37 MS_LOG(ERROR) << "invalid pad or stride tensor for: " << op_name_; in IsSupport() 46 MS_LOG(ERROR) << "convert StridedSlice failed: " << op_name_; in AddInnerOp() 66 transpose_layer_in->setName((op_name_ + "_transpose2NHWC").c_str()); in AddInnerOp() 73 MS_LOG(ERROR) << "add Slice op failed for TensorRT: " << op_name_; in AddInnerOp() 76 slice_layer->setName(op_name_.c_str()); in AddInnerOp() 82 out_tensor->setName((op_name_ + "_output").c_str()); in AddInnerOp()
|
D | reduce_tensorrt.cc | 24 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 68 MS_LOG(ERROR) << "create transpose layer failed for " << op_name_; in AddInnerOp() 71 transpose_layer->setName((op_name_ + "_transpose_in").c_str()); in AddInnerOp() 75 MS_LOG(WARNING) << "input tensor format needs check: " << op_name_; in AddInnerOp() 87 unsqueeze_layer->setName((op_name_ + "_unsqueeze4dims").c_str()); in AddInnerOp() 104 layer->setName(op_name_.c_str()); in AddInnerOp() 114 squeeze_layer->setName((op_name_ + "_squeeze").c_str()); in AddInnerOp() 123 out_tensor->setName((op_name_ + "_output").c_str()); in AddInnerOp()
|
D | unary_tensorrt.cc | 23 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 49 MS_LOG(ERROR) << "addUnary failed for: " << op_name_; in AddInnerOp() 52 cal_layer->setName(op_name_.c_str()); in AddInnerOp() 55 op_out_tensor->setName((op_name_ + "_output").c_str()); in AddInnerOp()
|
D | matmul_tensorrt.cc | 26 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 61 transpose_layer_in->setName((op_name_ + "_transpose2NHWC").c_str()); in AddInnerOp() 67 matmul_layer->setName(op_name_.c_str()); in AddInnerOp() 73 auto bias_layer_name = op_name_ + "_bias"; in AddInnerOp() 77 out_tensor->setName((op_name_ + "_output").c_str()); in AddInnerOp()
|
D | deconvolution_tensorrt.cc | 26 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 62 transpose_layer_in->setName((op_name_ + "_transpose2NCHW").c_str()); in AddInnerOp() 101 deconv_layer->setName((op_name_ + "_deconv").c_str()); in AddInnerOp() 117 activation_layer->setName((op_name_ + "_activation").c_str()); in AddInnerOp() 119 activation_layer->getOutput(0)->setName((op_name_ + "_output").c_str()); in AddInnerOp() 154 MS_LOG(WARNING) << "on pad value of " << op_name_; in SetAttributes() 160 MS_LOG(ERROR) << "invalid size of pad " << op_name_; in SetAttributes()
|
D | softmax_tensorrt.cc | 23 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 52 softmax_layer_->setName((op_name_ + "_softmax").c_str()); in AddInnerOp() 59 out_tensor->setName((op_name_ + "_output").c_str()); in AddInnerOp() 88 MS_LOG(DEBUG) << op_name_ << " set axis to " << axis_bit; in AddSoftMaxOp()
|
D | shape_tensorrt.cc | 23 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 47 shape_layer->setName(op_name_.c_str()); in AddInnerOp() 48 shape_layer->getOutput(0)->setName((op_name_ + "_output").c_str()); in AddInnerOp()
|
D | concate_tensorrt.cc | 24 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 56 MS_LOG(ERROR) << "dims of inputs is invalid for " << op_name_; in AddInnerOp() 104 concate_layer->setName(op_name_.c_str()); in AddInnerOp() 105 concate_layer->getOutput(0)->setName((op_name_ + "_output").c_str()); in AddInnerOp()
|
D | convolution_tensorrt.cc | 27 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 65 transpose_layer_in->setName((op_name_ + "_transpose2NCHW").c_str()); in AddInnerOp() 104 conv_layer->setName((op_name_ + "_conv").c_str()); in AddInnerOp() 120 activation_layer->setName((op_name_ + "_activation").c_str()); in AddInnerOp() 122 activation_layer->getOutput(0)->setName((op_name_ + "_output").c_str()); in AddInnerOp()
|
D | activation_tensorrt.cc | 24 MS_LOG(ERROR) << "Unsupported input tensor unknown shape: " << op_name_; in IsSupport() 67 activation_layer->setName(op_name_.c_str()); in AddInnerOp() 68 activation_layer->getOutput(0)->setName((op_name_ + "_output").c_str()); in AddInnerOp()
|
/third_party/mindspore/mindspore/ccsrc/profiler/device/cpu/ |
D | cpu_profiling.cc | 58 op_name_ = op_name; in SetRunTimeData() 83 MS_LOG(DEBUG) << "Host Time Elapsed(ms)," << op_name_ << "," << op_time_elapsed; in OpDataProducerEnd() 84 Profiler::SetRunTimeData(op_name_, op_time_elapsed); in OpDataProducerEnd() 85 Profiler::SetRunTimeData(op_name_, op_time_mono_start_, op_time_elapsed); in OpDataProducerEnd()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/profiling/reporter/ |
D | profiling_desc.cc | 25 std::string out = op_name_; in ToString() 38 desc.append("op_name:").append(op_name_).append(" op_type:").append(op_type_); in ToString() 70 desc.append(std::to_string(point_id_)).append(" ").append(op_name_).append("\n"); in ToString() 86 std::string desc = op_name_; in ToString()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/ |
D | input_to_output_registry.h | 32 : op_name_(op_name), pre_check_func_(pre_check_func) {} in op_name_() function 38 const std::string &op_name() const { return op_name_; } in op_name() 41 std::string op_name_;
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/hccl/ |
D | hccl_kernel.cc | 84 op_name_ = AnfAlgo::GetCNodeName(anf_node); in Init() 85 if (op_name_ == kHcomSend) { in Init() 91 if (op_name_ == kReceive) { in Init() 109 if (op_name_ == kReceive) { in Init() 120 if (op_name_ == kAllReduce || op_name_ == kReduceScatter) { in Init() 126 if (op_name_ == kBroadcast) { in Init()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/common/ |
D | const_input_to_attr_registry.h | 28 explicit ConstInputToAttrInfoRegister(const std::string &op_name = "") : op_name_(op_name) {} in op_name_() function 42 const std::string &GetOpName() const { return op_name_; } in GetOpName() 45 std::string op_name_;
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/executor/tiling/ |
D | op_tiling_adapter.cc | 142 MS_LOG(INFO) << "For op " << op_name_ << ", get compile_info: " << op_compile_info_; in ConvertCompileInfo() 190 MS_LOG(INFO) << "The node " << op_name_ << " has no infer depend "; in ConvertDepends() 223 MS_LOG(INFO) << "Add edge for op " << op_name_; in AddEdge() 233 MS_LOG(INFO) << "Get the every input name of " << op_name_; in InitOpIoName() 234 auto op_info_ptr = mindspore::kernel::tbe::TbeDynamicShapeUtil::FindOp(op_name_, node); in InitOpIoName() 273 op_name_ = AnfAlgo::GetCNodeName(node); in AnfNodeToGeNodeAdapter() 274 MS_LOG(INFO) << "Convert anf node :" << op_name_ << " to ge node."; in AnfNodeToGeNodeAdapter() 276 auto op_type = GetRealOpType(op_name_); in AnfNodeToGeNodeAdapter() 278 ge::OpDescPtr op_desc = std::make_shared<ge::OpDesc>(op_name_, op_type); in AnfNodeToGeNodeAdapter()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/oplib/ |
D | opinfo.h | 98 op_name_ = opinfo.op_name(); in OpInfo() 126 std::string op_name() const { return op_name_; } in op_name() 144 void set_op_name(const std::string &op_name) { op_name_ = op_name; } in set_op_name() 166 return this->op_name_ == other_info->op_name_ && this->imply_type_ == other_info->imply_type_ && in equals_to() 173 std::string op_name_;
|
/third_party/mindspore/mindspore/ccsrc/profiler/device/ |
D | data_saver.h | 31 std::string op_name_; member 50 …os << "Host," << op_type_ << ',' << op_name_ << ',' << op_full_name_ << ',' << op_info_->op_count … in OutputCpuOpDetailInfo() 56 …os << "Device," << op_type_ << ',' << op_name_ << ',' << op_full_name_ << ',' << op_info_->op_coun… in OutputGpuOpDetailInfo()
|