Home
last modified time | relevance | path

Searched defs:origin_data (Results 1 – 19 of 19) sorted by relevance

/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/quantizer/
Dtensor_compressor.cc44 std::vector<int8_t> origin_data(tensor_input->data.size()); in DoBitPack() local
67 std::vector<int16_t> origin_data(shape_size); in DoBitPack() local
120 std::vector<int8_t> origin_data(quant_data, quant_data + elements_num); in DoBitPack() local
134 std::vector<int16_t> origin_data(quant_data, quant_data + elements_num); in DoBitPack() local
Dquantize_util.h166 T QuantDeQuantData(float origin_data, const schema::QuantParamT *quant_param, int quant_max, int qu… in QuantDeQuantData()
Dinsert_quant_node_manager.h169 T *origin_data = static_cast<T *>(tensor_info->data_c()); in TransposeData() local
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/ops_func_impl/
Dlog.cc31 auto origin_data = reinterpret_cast<T *>(origin); in ImpleLog() local
42 auto origin_data = reinterpret_cast<T *>(origin); in ImpleComplexLog() local
53 auto origin_data = reinterpret_cast<T *>(origin); in ImpleLogInteger() local
Dreciprocal.cc52 auto origin_data = reinterpret_cast<T *>(origin); in ImplReciprocal() local
63 auto origin_data = reinterpret_cast<float16 *>(origin); in ImplReciprocalFloat16() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/common/
Dquant_utils.h77 T QuantizeData(float origin_data, const schema::QuantParamT *quant_param, int quant_max, int quant_… in QuantizeData()
96 T QuantizeData(const float origin_data, const schema::QuantParamT *quant_param) { in QuantizeData()
Dtensor_util.cc390 auto origin_data = tensor->data(); in CastConstTensorData() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/legacy_optimizer/graph/
Dconvert_fp32_to_fp16_pass.cc47 auto origin_data = tensor->data; in Run() local
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/ops_frontend_func_impl/
Dabs.cc30 auto origin_data = reinterpret_cast<T *>(origin); in ImpleAbs() local
Dneg.cc33 auto origin_data = reinterpret_cast<T *>(origin); in ImpleNeg() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/infer/
Dresize_infer.c31 void *origin_data = shape_tensor->data_; in HandleTwoInputs() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/kernel/
Dconvolution_depthwise.c72 void *origin_data = conv->base_.in_[SECOND_INPUT]->data_; in ConvDwPackWeight() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/train/
Dtrain_utils.cc156 auto origin_data = tensor->data(); in CastTensor() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/optimizer/fusion/
Dbatchnorm_to_scale_fusion.cc135 auto origin_data = reinterpret_cast<float *>(origin_tensor->data_c()); in CalEstimatedData() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/parser/tf/
Dtf_model_parser.cc178 const auto &origin_data = tensor_proto.int_val(); in SetInt32TensorInfo() local
319 const auto &origin_data = tensor_proto.int64_val(); in SetInt64TensorToInt64Tensor() local
324 … const auto origin_data = reinterpret_cast<const int64_t *>(tensor_proto.tensor_content().data()); in SetInt64TensorToInt64Tensor() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/optimizer/common/
Dgllo_utils.cc214 void CopyDataFromInt64(const int64_t *origin_data, int *tensor_data, size_t data_count) { in CopyDataFromInt64()
238 auto *origin_data = reinterpret_cast<int64_t *>(tensor_info->data_c()); in CopyTensorDataFromTensorInfo() local
247 auto *origin_data = reinterpret_cast<double_t *>(tensor_info->data_c()); in CopyTensorDataFromTensorInfo() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/train/optimizer/fusion/
Dgru_fusion_pass.cc231 auto origin_data = reinterpret_cast<const int *>(tensor->data.data()); in GetStridedSlicePoints() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/
Dscheduler.cc920 auto origin_data = tensor->data(); in CastAndRestoreConstTensorData() local
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/composite/multitype_ops/
D_compile_utils.py128 def data_update_by_ops(transfer_type, arg, data, new_index, origin_data, value=None): argument