| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/pybind_api/ir/ |
| D | tensor_py.cc | 307 TensorPtr TensorPy::MakeTensor(const py::array &input, const TypePtr &type_ptr) { in MakeTensor() 538 …:ConvertBytesToTensor(const py::bytes &bytes_obj, const py::tuple &dims, const TypePtr &type_ptr) { in ConvertBytesToTensor() 610 const TypePtr type_ptr) { in SetDeviceAddress() 712 .def(py::init([](const Tensor &tensor, const TypePtr &type_ptr) { in RegMetaTensor() 721 .def(py::init([](const BaseTensor &tensor, const TypePtr &type_ptr) { in RegMetaTensor() 729 .def(py::init([](const TypePtr &type_ptr, const py::tuple &shape) { in RegMetaTensor() 734 .def(py::init([](const TypePtr &type_ptr, const py::list &shape) { in RegMetaTensor() 740 …py::init([](const py::array &input, const TypePtr &type_ptr) { return TensorPy::MakeTensor(input, … in RegMetaTensor() 742 .def(py::init([](const py::float_ input, const TypePtr &type_ptr) { in RegMetaTensor() 746 .def(py::init([](const py::int_ input, const TypePtr &type_ptr) { in RegMetaTensor() [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/c_api/src/ |
| D | abstract.cc | 53 auto type_ptr = mindspore::TypeIdToType(mindspore::TypeId(type)); in MSSetAbstract() local 72 auto type_ptr = mindspore::TypeIdToType(mindspore::TypeId(type)); in MSSetMultiAbstract() local
|
| D | utils.h | 251 auto type_ptr = mindspore::TypeIdToType(type); in GetScalarParam() local
|
| D | tensor.cc | 121 auto type_ptr = mindspore::TypeIdToType(mindspore::kNumberTypeFloat32); in MSNewTensorScalarFloat32() local 138 auto type_ptr = mindspore::TypeIdToType(mindspore::kNumberTypeInt32); in MSNewTensorScalarInt32() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/core/ir/ |
| D | meta_tensor.cc | 28 MetaTensor::MetaTensor(const TypePtr &type_ptr, const ShapeVector &shape) in MetaTensor() 67 TypePtr MetaTensor::SetDtype(const TypePtr type_ptr) { in SetDtype()
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/backend/common/graph_kernel/model/ |
| D | node.cc | 24 auto type_ptr = data->ToAbstract()->BuildType(); local 31 auto type_ptr = data->ToAbstract()->BuildType(); local
|
| /third_party/mindspore/mindspore-src/source/mindspore/core/symbolic_shape/ |
| D | utils.cc | 28 SymbolPtr GenValueByTensorShape(const ShapeVector &shape, const TypePtr &type_ptr) { in GenValueByTensorShape() 56 SymbolPtr GenValueByShape(const BaseShapePtr &baseshape, const TypePtr &type_ptr) { in GenValueByShape() 85 auto type_ptr = v->type(); in KernelTensorValueToSymbol() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/test/common/ |
| D | import_from_meta_graphT.cc | 52 auto type_ptr = TypeIdToType(type_id); in ConverterConstTensor() local 97 auto type_ptr = TypeIdToType(type_id); in ConvertTensorToAbstractTensor() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/core/ops/ops_frontend_func_impl/ |
| D | tuple_to_tensor.cc | 59 tensor::TensorPtr CreateTensorByTupleCast(const std::vector<T> &values, const TypePtr &type_ptr, in CreateTensorByTupleCast() 77 …:TensorPtr CreateTensorWithValueTuple(const ValueSequencePtr &value_tuple, const TypePtr &type_ptr, in CreateTensorWithValueTuple()
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/adapter/acl/mapper/ |
| D | cast_mapper.cc | 50 TypePtr type_ptr = TypeIdToType(TypeId(dst_type)); in Mapper() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/tools/optimizer/graph/ |
| D | kvcache_quant_pass.cc | 65 TypePtr type_ptr = TypeIdToType(dst_type); in NewQuantNode() local 91 TypePtr type_ptr = TypeIdToType(dst_type); in NewAscendAntiQuantNode() local
|
| D | int64_cast_int32_pass.cc | 110 auto type_ptr = abstract_tensor->element()->GetTypeTrack(); in Run() local
|
| D | output_variable_pass.cc | 73 auto type_ptr = abstract_tensor->element()->GetTypeTrack(); in Run() local
|
| D | input_and_output_variable_pass.cc | 150 auto type_ptr = abstract_tensor->element()->GetTypeTrack(); in CreateAssign() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/adapter/acl/common/ |
| D | utils.cc | 125 auto type_ptr = abstract_tensor->element()->GetTypeTrack(); in GetTypeFromNode() local 145 auto type_ptr = abstract_tensor->element()->GetTypeTrack(); in GetTypeFromNode() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/core/ops/fusion/ |
| D | arg_min_fusion.cc | 69 auto type_ptr = GetAttr(kOutputType)->cast<api::TensorTypePtr>()->element(); in get_output_type() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/adapter/dpico/mapper/ |
| D | custom_mapper.cc | 40 auto type_ptr = custom_prim->GetAttr("type" + std::to_string(index)); in GetParamFromAttrs() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/optimizer/ |
| D | apply_momentum_scale_fusion.cc | 44 auto type_ptr = dyn_cast<TensorType>(dtype); in IsScalar() local
|
| D | apply_momentum_weight_scale_fusion.cc | 53 auto type_ptr = dyn_cast<TensorType>(dtype); in IsScalar() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/import/ |
| D | mindir_adjust.cc | 170 auto type_ptr = tensor_element->GetTypeTrack(); in AdjustInputDataType() local 200 auto type_ptr = abstract_tensor->element()->GetTypeTrack(); in ValueNodeInt64Convert() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/core/ops/ |
| D | quant_dtype_cast.cc | 83 …auto type_ptr = mindspore::TypeIdToType(static_cast<TypeId>(GetValue<int64_t>(primitive->GetAttr(k… in InferType() local
|
| D | batch_isend_irecv.cc | 122 TypePtr type_ptr = nullptr; in InferType() local
|
| /third_party/mesa3d/src/panfrost/lib/ |
| D | pan_indirect_dispatch.c | 61 nir_def *type_ptr = nir_iadd(&b, job_hdr_ptr, nir_imm_int64(&b, 4 * 4)); in pan_indirect_dispatch_init() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/backend/common/graph_kernel/expander/mindir_adapter/ |
| D | infer.cc | 62 auto type_ptr = v->type(); in SetValue() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/core/ir/dtype/ |
| D | type.cc | 207 size_t GetTypeByte(const TypePtr &type_ptr) { in GetTypeByte()
|