Searched refs:Dtype (Results 1 – 18 of 18) sorted by relevance
31 auto dtype = tens->Dtype(); in ToAbstract()50 TypePtr MetaTensor::Dtype() const { return TypeIdToType(data_type_); } in Dtype() function in mindspore::tensor::MetaTensor
100 TypePtr Dtype() const;
588 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()
581 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());
56 TypeId tensor_type = tensor_ptr->Dtype()->type_id(); in IsNodeScalarTrueWith()
480 …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()
64 if (tensor->Dtype()->ToString() == "Int32") { in BaseRefToInt()68 } else if (tensor->Dtype()->ToString() == "Int64") { in BaseRefToInt()
406 … .def_property_readonly("dtype", &MetaTensor::Dtype, "Get the MetaTensor's dtype.") in __anonff91c9900102()476 .def_property_readonly("_dtype", &Tensor::Dtype, R"mydelimiter( in __anonff91c9900102()
168 inputs_type_len.push_back(GetLengthOfDataType(tensor->Dtype())); in ExtractInputTypeLengthByNode()
291 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()
445 TypePtr data_type = tensor->Dtype(); in ParseConstValue()
157 tensor_proto->set_data_type(GetDebuggerNumberDataType(tensor_ptr->Dtype())); in SetValueToProto()
221 tensor_proto->set_data_type(GetNumberDataType(tensor_ptr->Dtype())); in SetValueToProto()
529 auto tensor_type = input_tensor->Dtype(); in CheckTensorIntValue()
319 …explicit AbstractTensor(const tensor::TensorPtr &tensor) : AbstractUndetermined(tensor->Dtype(), t… in AbstractTensor()
611 auto type_of_tensor = input_tensor->Dtype(); in NewValueNode()
328 auto type_of_tensor = input_tensor->Dtype(); in ConstructRunOpParameter()
336 auto dtype = input_tensors[index]->Dtype(); in GetSingleOpGraphInfo()1183 auto source_element = tensor->Dtype(); in DoParamMixPrecisionCast()