Home
last modified time | relevance | path

Searched refs:add_ints (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/transform/express_ir/
Dmindir_exporter.cc742 attr_proto->add_ints(attr_value); in SetScalarToAttributeProto_irs()
745 attr_proto->add_ints(value->cast<Int8ImmPtr>()->value()); in SetScalarToAttributeProto_irs()
748 attr_proto->add_ints(value->cast<Int16ImmPtr>()->value()); in SetScalarToAttributeProto_irs()
751 attr_proto->add_ints(value->cast<Int32ImmPtr>()->value()); in SetScalarToAttributeProto_irs()
754 attr_proto->add_ints(value->cast<Int64ImmPtr>()->value()); in SetScalarToAttributeProto_irs()
757 attr_proto->add_ints(value->cast<UInt8ImmPtr>()->value()); in SetScalarToAttributeProto_irs()
760 attr_proto->add_ints(value->cast<UInt16ImmPtr>()->value()); in SetScalarToAttributeProto_irs()
763 attr_proto->add_ints(value->cast<UInt32ImmPtr>()->value()); in SetScalarToAttributeProto_irs()
766 attr_proto->add_ints(SizeToInt(value->cast<UInt64ImmPtr>()->value())); in SetScalarToAttributeProto_irs()
Donnx_exporter.cc83 attr_proto->add_ints(static_cast<::google::protobuf::int64>(attr_value)); in SetAttrValueToProto()
107 attr_proto->add_ints(GetValue<int64_t>((*tuple_ptr)[i])); in SetAttrTupleValueToProto()
804 attr_proto->add_ints(GetValue<int64_t>((*tuple_ptr)[i])); in ExportPrimReduce()
807 attr_proto->add_ints(int_ptr->value()); in ExportPrimReduce()
839 attr_proto->add_ints(GetValue<int64_t>((*tuple_ptr)[i])); in ExportPrimTranspose()
842 attr_proto->add_ints(int_ptr->value()); in ExportPrimTranspose()
1080 attr_proto->add_ints(SizeToLong(i)); in ExportPrimBatchMatMul()
1082 attr_proto->add_ints(SizeToLong(input_x_shape->shape().size()) - IntToLong(kOneNum)); in ExportPrimBatchMatMul()
1083 attr_proto->add_ints(SizeToLong(input_x_shape->shape().size()) - IntToLong(kTwoNum)); in ExportPrimBatchMatMul()
1098 attr_proto->add_ints(SizeToLong(i)); in ExportPrimBatchMatMul()
[all …]
/third_party/flatbuffers/tests/
Dmore_defaults_generated.rs132 if let Some(x) = args.ints { builder.add_ints(x); } in create()
247 pub fn add_ints(&mut self, ints: flatbuffers::WIPOffset<flatbuffers::Vector<'b , i32>>) { in add_ints() method