Home
last modified time | relevance | path

Searched refs:Dtype (Results 1 – 18 of 18) sorted by relevance

/third_party/mindspore/mindspore/core/ir/
Dmeta_tensor_extends.cc31 auto dtype = tens->Dtype(); in ToAbstract()
50 TypePtr MetaTensor::Dtype() const { return TypeIdToType(data_type_); } in Dtype() function in mindspore::tensor::MetaTensor
Dmeta_tensor.h100 TypePtr Dtype() const;
Dtensor.cc588 auto dtype = tens->Dtype(); in ToAbstract()
608 buf << "Tensor shape:[" << shape() << "]" << this->Dtype()->ToString(); in GetShapeAndDataTypeInfo()
614 auto dtype = Dtype(); in ToStringInternal()
639 auto dtype = Dtype(); in ToStringRepr()
Dpattern_matcher.h581 TypeId tensor_type = tensor_ptr->Dtype()->type_id();
769 TypeId tensor_type = tensor_ptr->Dtype()->type_id();
907 … size_t mem_size = GetTypeByte(new_tensor_ptr->Dtype()) * IntToSize(new_tensor_ptr->ElementsNum());
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dvalue_based_eliminate.cc56 TypeId tensor_type = tensor_ptr->Dtype()->type_id(); in IsNodeScalarTrueWith()
Dspecial_op_eliminate.h480 …tensor::TensorPtr out_t = std::make_shared<tensor::Tensor>(tensor->Dtype()->type_id(), tensor->sha… in FillZero()
543 … auto new_tensor = std::make_shared<tensor::Tensor>(tensor->Dtype()->type_id(), tensor->shape()); in OperatorHandle3()
669 auto tensor_dtype = constant_tensor->Dtype(); in operator()
/third_party/mindspore/mindspore/ccsrc/utils/
Dconvert_utils.cc64 if (tensor->Dtype()->ToString() == "Int32") { in BaseRefToInt()
68 } else if (tensor->Dtype()->ToString() == "Int64") { in BaseRefToInt()
/third_party/mindspore/mindspore/ccsrc/pybind_api/ir/
Dtensor_py.cc406 … .def_property_readonly("dtype", &MetaTensor::Dtype, "Get the MetaTensor's dtype.") in __anonff91c9900102()
476 .def_property_readonly("_dtype", &Tensor::Dtype, R"mydelimiter( in __anonff91c9900102()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dnode_info.cc168 inputs_type_len.push_back(GetLengthOfDataType(tensor->Dtype())); in ExtractInputTypeLengthByNode()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/
Dpipeline.cc291 TypePtr sig_type = sig->Dtype(); in VerifyInputSignature()
299 if (*m_tensor->Dtype() != *sig_type) { in VerifyInputSignature()
300 …MS_LOG(ERROR) << "Python input type(" << m_tensor->Dtype()->ToString() << ") incompatible with inp… in VerifyInputSignature()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_json/
Dtbe_json_creator.cc445 TypePtr data_type = tensor->Dtype(); in ParseConstValue()
/third_party/mindspore/mindspore/ccsrc/debug/debugger/
Dproto_exporter.cc157 tensor_proto->set_data_type(GetDebuggerNumberDataType(tensor_ptr->Dtype())); in SetValueToProto()
/third_party/mindspore/mindspore/ccsrc/debug/
Ddump_proto.cc221 tensor_proto->set_data_type(GetNumberDataType(tensor_ptr->Dtype())); in SetValueToProto()
/third_party/mindspore/mindspore/core/utils/
Dcheck_convert_utils.cc529 auto tensor_type = input_tensor->Dtype(); in CheckTensorIntValue()
/third_party/mindspore/mindspore/core/abstract/
Dabstract_value.h319 …explicit AbstractTensor(const tensor::TensorPtr &tensor) : AbstractUndetermined(tensor->Dtype(), t… in AbstractTensor()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dkernel_graph.cc611 auto type_of_tensor = input_tensor->Dtype(); in NewValueNode()
Dsession_basic.cc328 auto type_of_tensor = input_tensor->Dtype(); in ConstructRunOpParameter()
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/
Dpynative_execute.cc336 auto dtype = input_tensors[index]->Dtype(); in GetSingleOpGraphInfo()
1183 auto source_element = tensor->Dtype(); in DoParamMixPrecisionCast()