Home
last modified time | relevance | path

Searched refs:ValueSequeuePtr (Results 1 – 24 of 24) sorted by relevance

/third_party/mindspore/mindspore/core/ops/
Dneighborexchange.cc59 auto ele = attr_shapes[0]->cast<ValueSequeuePtr>(); in CheckAttr()
124 auto send_shape_value = send_shapes[i]->cast<ValueSequeuePtr>(); in Check()
148 auto shapes_seq = recv_shapes->cast<ValueSequeuePtr>(); in InferShape()
153 auto each_shape_value = value->cast<ValueSequeuePtr>(); in InferShape()
170 auto shapes_seq = recv_shapes->cast<ValueSequeuePtr>(); in InferType()
/third_party/mindspore/mindspore/lite/tools/converter/acl/mapper/
Dprimitive_mapper.cc67 if (utils::isa<ValueSequeuePtr>(value_ptr)) { in AttrAdjust()
68 auto val_seq_ptr = value_ptr->cast<ValueSequeuePtr>(); in AttrAdjust()
/third_party/mindspore/mindspore/lite/tools/optimizer/common/
Dgllo_utils.cc311 if (utils::isa<ValueSequeuePtr>(value)) { in CastToInt()
312 if (!value->cast<ValueSequeuePtr>()->value().empty()) { in CastToInt()
313 auto data_type = value->cast<ValueSequeuePtr>()->value().front()->type()->number_type(); in CastToInt()
346 if (utils::isa<ValueSequeuePtr>(value)) { in CastToVec2DInt()
348 …value->cast<ValueSequeuePtr>()->value().front()->cast<ValueSequeuePtr>()->value().front()->type()-… in CastToVec2DInt()
373 if (utils::isa<ValueSequeuePtr>(value)) { in CastToFloat()
374 if (!value->cast<ValueSequeuePtr>()->value().empty()) { in CastToFloat()
375 auto data_type = value->cast<ValueSequeuePtr>()->value().front()->type()->number_type(); in CastToFloat()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/expanders/
Dutils.cc95 const auto &vals = value->cast<ValueSequeuePtr>()->value(); in GetAxisList()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Daxis_normalizer.cc55 auto vec = axis->cast<ValueSequeuePtr>()->value(); in Process()
/third_party/mindspore/mindspore/ccsrc/debug/debugger/
Dproto_exporter.h49 void SetSequenceToProto(const ValueSequeuePtr &val, debugger::ValueProto *value_proto);
Dproto_exporter.cc228 void DebuggerProtoExporter::SetSequenceToProto(const ValueSequeuePtr &val, debugger::ValueProto *va… in SetSequenceToProto()
/third_party/mindspore/mindspore/core/ir/
Dvalue.h70 using ValueSequeuePtr = std::shared_ptr<ValueSequeue>; variable
323 const std::vector<ValuePtr> &vals = value->cast<ValueSequeuePtr>()->value();
/third_party/mindspore/mindspore/lite/tools/converter/import/
Dprimitive_adjust.cc180 if (utils::isa<ValueSequeuePtr>(value_ptr)) { in AttrAdjust()
181 …MS_CHECK_TRUE_MSG(value_ptr->cast<ValueSequeuePtr>()->value().size() > 0, RET_ERROR, "value is emp… in AttrAdjust()
182 …if (value_ptr->cast<ValueSequeuePtr>()->value().front()->type()->number_type() != kNumberTypeInt64… in AttrAdjust()
/third_party/mindspore/mindspore/ccsrc/transform/express_ir/
Dmindir_exporter.cc119 …void SetSequenceToAttributeProto(const ValueSequeuePtr &value, mind_ir::AttributeProto *const attr…
651 SetSequenceToAttributeProto(value->cast<ValueSequeuePtr>(), attr_proto, &seq_string); in SetValueToAttributeProto()
790 void IrExportBuilder::SetSequenceToAttributeProto(const ValueSequeuePtr &value, in SetSequenceToAttributeProto()
/third_party/mindspore/mindspore/ccsrc/debug/
Ddump_proto.cc49 void SetSequenceToProto(const ValueSequeuePtr &val, irpb::ValueProto *value_proto);
293 void ProtoExporter::SetSequenceToProto(const ValueSequeuePtr &val, irpb::ValueProto *value_proto) { in SetSequenceToProto()
Danf_ir_utils.cc297 ValueSequeuePtr seq = dyn_cast<ValueSequeue>(value); in GetSequenceText()
/third_party/mindspore/mindspore/ccsrc/frontend/operator/
Dops_front_infer_function.cc216 … const ValueSequeuePtr &axis_value_ptr, const PrimitivePtr &primitive) { in DoInferReduceShape()
383 auto axis_value_ptr = axis_value->cast<ValueSequeuePtr>(); in InferImplReduceShape()
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/
Dop_adapter_util.cc46 auto vec = value->cast<ValueSequeuePtr>(); in ConvertAnyUtil()
Dop_adapter.h370 auto vec = value->cast<ValueSequeuePtr>(); in ConvertAny()
Dop_adapter.cc531 auto val_seq = item.second->cast<ValueSequeuePtr>(); in SetCustomOpAttr()
Dconvert.cc1493 if (utils::isa<ValueSequeuePtr>(value)) { in CastToInt()
1494 auto val_seq_ptr = value->cast<ValueSequeuePtr>(); in CastToInt()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/
Dakg_kernel_json_generator.cc112 const auto &vec = v->cast<ValueSequeuePtr>()->value(); in ExtractAttrs()
278 const auto &vals = attr_value->cast<ValueSequeuePtr>()->value(); in GetAttrJson()
/third_party/mindspore/mindspore/lite/tools/anf_exporter/
Dfetch_content.cc207 auto value_seq = value->cast<ValueSequeuePtr>(); in FetchFromSequenceValue()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/model/
Dop_node.cc33 const auto &vals = attr_value->cast<ValueSequeuePtr>()->value(); in GetListInt()
/third_party/mindspore/mindspore/ccsrc/utils/
Dconvert_utils_py.cc155 auto value_sequeue = value->cast<ValueSequeuePtr>()->value(); in __anone0198b6c0702()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Dkpynative.cc508 auto input_1_out = input_1_adjoint->out()->cast<ValueSequeuePtr>(); in ForgeGetItemAdjoint()
/third_party/mindspore/mindspore/ccsrc/vm/
Dbackend.cc544 const auto &value_sequeue = value->cast<ValueSequeuePtr>(); in GetControlOpInput()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dstep_parallel.cc2786 auto shape_value = GetValueNode(node->input(2))->cast<ValueSequeuePtr>(); in InsertShapeOp()