Searched refs:abs_tensor (Results 1 – 7 of 7) sorted by relevance
36 auto abs_tensor = std::make_shared<abstract::AbstractTensor>(dtype, tensor_shape); in ToAbstract() local43 abs_tensor = std::make_shared<abstract::AbstractRef>(abs_ref_key, abs_tensor); in ToAbstract()45 abs_tensor->set_value(shared_from_base<MetaTensor>()); in ToAbstract()47 return abs_tensor; in ToAbstract()
593 auto abs_tensor = std::make_shared<abstract::AbstractTensor>(dtype, tensor_shape); in ToAbstract() local599 abs_tensor = std::make_shared<abstract::AbstractRef>(abs_ref_key, abs_tensor); in ToAbstract()601 abs_tensor->set_value(shared_from_base<Tensor>()); in ToAbstract()603 return abs_tensor; in ToAbstract()
195 auto abs_tensor = abs->cast<abstract::AbstractTensorPtr>(); in SetOutput() local196 auto ele = abs_tensor->element(); in SetOutput()
659 auto abs_tensor = AbstractTensor::Clone()->cast<AbstractTensorPtr>(); in Clone() local660 if (abs_tensor == nullptr) { in Clone()663 return std::make_shared<AbstractRef>(ref_key_->Clone(), abs_tensor); in Clone()672 auto abs_tensor = AbstractTensor::Broaden()->cast<AbstractTensorPtr>(); in Broaden() local673 if (abs_tensor == nullptr) { in Broaden()676 return std::make_shared<AbstractRef>(ref_key_->Broaden(), abs_tensor); in Broaden()
695 auto abs_tensor = std::make_shared<abstract::AbstractTensor>(out_type, abs_shape); in CreateCNode() local696 cnode->set_abstract(abs_tensor); in CreateCNode()698 auto abs_tensor = std::make_shared<abstract::AbstractTensor>(out_type, out_info.shape); in CreateCNode() local699 cnode->set_abstract(abs_tensor); in CreateCNode()
402 auto abs_tensor = dyn_cast<abstract::AbstractTensor>(tensor); in SetValueRange() local403 abs_tensor->set_value_range(min_value, max_value); in SetValueRange()
541 auto abs_tensor = new_tensor->ToAbstract(); in CreateOutputNodeParam() local542 new_param->set_abstract(abs_tensor); in CreateOutputNodeParam()