Home
last modified time | relevance | path

Searched refs:GetTypeByte (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/
Dcpu_kernel_runtime.cc110 size_t type_size = GetTypeByte(TypeIdToType(output_type_id)); in AssignValueNodeAddress()
143 size_t type_size = GetTypeByte(TypeIdToType(output_type_id)); in AssignInputNodeAddress()
209 size_t type_size = GetTypeByte(TypeIdToType(device_type_id)); in CreatTensorForOutput()
227 size_t type_size = GetTypeByte(TypeIdToType(device_type_id)); in CreatTensorForOutput()
332 …if (GetTypeByte(TypeIdToType(tensor->data_type())) == GetTypeByte(TypeIdToType(address->type_id_))… in BindInputTensorAddressPtr()
337GetTypeByte(TypeIdToType(address->type_id_)), std::multiplies<size_t>()); in BindInputTensorAddressPtr()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dreshape_cpu_kernel.cc32 type_size_ = GetTypeByte(TypeIdToType(x_data_type_)); in InitKernel()
Ddynamic_assign_cpu_kernel.cc35 input_x_dtype_size_ = GetTypeByte(TypeIdToType(input_x_dtype_)); in InitKernel()
Dpad_and_shift_cpu_kernel.cc31 type_size_ = GetTypeByte(TypeIdToType(input_x_dtype_)); in InitKernel()
Dcpu_kernel.cc33 size_t type_size = GetTypeByte(TypeIdToType(type_id)); in InitInputOutputSize()
43 size_t type_size = GetTypeByte(TypeIdToType(type_id)); in InitInputOutputSize()
/third_party/mindspore/mindspore/core/ir/
Dpattern_matcher.h651 size_t mem_size = GetTypeByte(tensor_type_ptr) * IntToSize(new_tensor_ptr->ElementsNum());
691 auto tensor_type_byte = GetTypeByte(tensor_type_ptr);
722 size_t mem_size = GetTypeByte(tensor_type_ptr) * IntToSize(new_tensor_ptr->ElementsNum());
774 size_t mem_size = GetTypeByte(tensor_type_ptr) * IntToSize(new_tensor_ptr->ElementsNum());
907 … size_t mem_size = GetTypeByte(new_tensor_ptr->Dtype()) * IntToSize(new_tensor_ptr->ElementsNum());
/third_party/mindspore/mindspore/core/ir/dtype/
Dtype.h48 size_t GetTypeByte(const TypePtr &type_ptr);
Dtype.cc168 size_t GetTypeByte(const TypePtr &type_ptr) { in GetTypeByte() function
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/
Dcommunication_op_fusion.cc360 size_t type_size = GetTypeByte(TypeIdToType(output_type)); in CreateFusedCommunicationOp()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/mem_reuse/
Dmem_reuse_checker.cc72 size_t type_size = GetTypeByte(TypeIdToType(ou_type)); in CalculOriInput()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dspecial_op_eliminate.h400 size_t mem_size = GetTypeByte(tensor_type_ptr) * IntToSize(new_tensor_ptr->ElementsNum()); in operator()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/
Dcommon_utils.cc912 size_t type_byte = GetTypeByte(type_ptr); in GetShapeSize()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Danf_runtime_algorithm.cc646 size_t type_size = GetTypeByte(TypeIdToType(output_type_id)); in GetOutputTensorMemSize()