/third_party/mindspore/mindspore/lite/schema/ |
D | ops_v0_generated.h | 1229 flatbuffers::FlatBufferBuilder &fbb_; member 1232 fbb_.AddOffset(Pad::VT_PADDINGS, paddings); in add_paddings() 1235 fbb_.AddElement<int8_t>(Pad::VT_PADDINGMODE, static_cast<int8_t>(paddingMode), 0); in add_paddingMode() 1238 fbb_.AddElement<float>(Pad::VT_CONSTANTVALUE, constantValue, 0.0f); in add_constantValue() 1241 : fbb_(_fbb) { in PadBuilder() 1242 start_ = fbb_.StartTable(); in PadBuilder() 1245 const auto end = fbb_.EndTable(start_); in Finish() 1286 flatbuffers::FlatBufferBuilder &fbb_; member 1289 : fbb_(_fbb) { in MaximumBuilder() 1290 start_ = fbb_.StartTable(); in MaximumBuilder() [all …]
|
D | ops_generated.h | 2058 flatbuffers::FlatBufferBuilder &fbb_; 2061 : fbb_(_fbb) { 2062 start_ = fbb_.StartTable(); 2065 const auto end = fbb_.EndTable(start_); 2114 flatbuffers::FlatBufferBuilder &fbb_; 2117 … fbb_.AddElement<int8_t>(Activation::VT_ACTIVATION_TYPE, static_cast<int8_t>(activation_type), 0); 2120 fbb_.AddElement<float>(Activation::VT_ALPHA, alpha, 0.0f); 2123 fbb_.AddElement<float>(Activation::VT_MIN_VAL, min_val, 0.0f); 2126 fbb_.AddElement<float>(Activation::VT_MAX_VAL, max_val, 0.0f); 2129 fbb_.AddElement<uint8_t>(Activation::VT_APPROXIMATE, static_cast<uint8_t>(approximate), 0); [all …]
|
D | gpu_cache_generated.h | 57 flatbuffers::FlatBufferBuilder &fbb_; member 60 fbb_.AddOffset(TuneParam::VT_LOCAL, local); in add_local() 63 fbb_.AddOffset(TuneParam::VT_BLOCK, block); in add_block() 66 fbb_.AddOffset(TuneParam::VT_SHAPE, shape); in add_shape() 69 fbb_.AddOffset(TuneParam::VT_OPPARA, opPara); in add_opPara() 72 : fbb_(_fbb) { in TuneParamBuilder() 73 start_ = fbb_.StartTable(); in TuneParamBuilder() 76 const auto end = fbb_.EndTable(start_); in Finish() 150 flatbuffers::FlatBufferBuilder &fbb_; member 153 fbb_.AddOffset(ProgramBinary::VT_PROGRAM_NAME, program_name); in add_program_name() [all …]
|
D | ops_types_generated.h | 591 flatbuffers::FlatBufferBuilder &fbb_; member 594 fbb_.AddOffset(Vec::VT_DATA, data); in add_data() 597 : fbb_(_fbb) { in VecBuilder() 598 start_ = fbb_.StartTable(); in VecBuilder() 601 const auto end = fbb_.EndTable(start_); in Finish() 643 flatbuffers::FlatBufferBuilder &fbb_; member 646 fbb_.AddOffset(Vec2D::VT_DATA, data); in add_data() 649 : fbb_(_fbb) { in Vec2DBuilder() 650 start_ = fbb_.StartTable(); in Vec2DBuilder() 653 const auto end = fbb_.EndTable(start_); in Finish() [all …]
|
/third_party/flatbuffers/include/flatbuffers/ |
D | reflection_generated.h | 187 flatbuffers::FlatBufferBuilder &fbb_; member 190 fbb_.AddElement<int8_t>(Type::VT_BASE_TYPE, static_cast<int8_t>(base_type), 0); in add_base_type() 193 fbb_.AddElement<int8_t>(Type::VT_ELEMENT, static_cast<int8_t>(element), 0); in add_element() 196 fbb_.AddElement<int32_t>(Type::VT_INDEX, index, -1); in add_index() 199 fbb_.AddElement<uint16_t>(Type::VT_FIXED_LENGTH, fixed_length, 0); in add_fixed_length() 202 : fbb_(_fbb) { in TypeBuilder() 203 start_ = fbb_.StartTable(); in TypeBuilder() 206 const auto end = fbb_.EndTable(start_); in Finish() 256 flatbuffers::FlatBufferBuilder &fbb_; member 259 fbb_.AddOffset(KeyValue::VT_KEY, key); in add_key() [all …]
|
/third_party/flatbuffers/tests/evolution_test/ |
D | evolution_v2_generated.h | 184 flatbuffers::FlatBufferBuilder &fbb_; 187 fbb_.AddElement<float>(TableA::VT_A, a, 0.0f); 190 fbb_.AddElement<int32_t>(TableA::VT_B, b, 0); 193 fbb_.AddOffset(TableA::VT_C, c); 196 : fbb_(_fbb) { 197 start_ = fbb_.StartTable(); 200 const auto end = fbb_.EndTable(start_); 248 flatbuffers::FlatBufferBuilder &fbb_; 251 fbb_.AddElement<int32_t>(TableB::VT_A, a, 0); 254 : fbb_(_fbb) { [all …]
|
D | evolution_v1_generated.h | 162 flatbuffers::FlatBufferBuilder &fbb_; 165 fbb_.AddElement<float>(TableA::VT_A, a, 0.0f); 168 fbb_.AddElement<int32_t>(TableA::VT_B, b, 0); 171 : fbb_(_fbb) { 172 start_ = fbb_.StartTable(); 175 const auto end = fbb_.EndTable(start_); 208 flatbuffers::FlatBufferBuilder &fbb_; 211 fbb_.AddElement<int32_t>(TableB::VT_A, a, 0); 214 : fbb_(_fbb) { 215 start_ = fbb_.StartTable(); [all …]
|
/third_party/flatbuffers/grpc/tests/ |
D | grpctest.cpp | 40 fbb_.Clear(); in Store() 42 fbb_, fbb_.CreateString("Hello, " + request->GetRoot()->name()->str())); in Store() 43 fbb_.Finish(stat_offset); in Store() 45 *response = fbb_.ReleaseMessage<Stat>(); in Store() 54 fbb_.Clear(); in Retrieve() 57 CreateMonster(fbb_, 0, 0, 0, in Retrieve() 58 fbb_.CreateString(request->GetRoot()->id()->str() + in Retrieve() 60 fbb_.Finish(monster_offset); in Retrieve() 63 fbb_.ReleaseMessage<Monster>(); in Retrieve() 72 flatbuffers::grpc::MessageBuilder fbb_; member in ServiceImpl
|
/third_party/mindspore/mindspore/lite/schema/inner/ |
D | ops_v0_generated.h | 1870 flatbuffers::FlatBufferBuilder &fbb_; member 1873 fbb_.AddOffset(Pad::VT_PADDINGS, paddings); in add_paddings() 1876 fbb_.AddElement<int8_t>(Pad::VT_PADDINGMODE, static_cast<int8_t>(paddingMode), 0); in add_paddingMode() 1879 fbb_.AddElement<float>(Pad::VT_CONSTANTVALUE, constantValue, 0.0f); in add_constantValue() 1882 : fbb_(_fbb) { in PadBuilder() 1883 start_ = fbb_.StartTable(); in PadBuilder() 1886 const auto end = fbb_.EndTable(start_); in Finish() 1940 flatbuffers::FlatBufferBuilder &fbb_; member 1943 : fbb_(_fbb) { in MaximumBuilder() 1944 start_ = fbb_.StartTable(); in MaximumBuilder() [all …]
|
D | ops_generated.h | 4303 flatbuffers::FlatBufferBuilder &fbb_; 4306 : fbb_(_fbb) { 4307 start_ = fbb_.StartTable(); 4310 const auto end = fbb_.EndTable(start_); 4392 flatbuffers::FlatBufferBuilder &fbb_; 4395 … fbb_.AddElement<int8_t>(Activation::VT_ACTIVATION_TYPE, static_cast<int8_t>(activation_type), 0); 4398 fbb_.AddElement<float>(Activation::VT_ALPHA, alpha, 0.0f); 4401 fbb_.AddElement<float>(Activation::VT_MIN_VAL, min_val, 0.0f); 4404 fbb_.AddElement<float>(Activation::VT_MAX_VAL, max_val, 0.0f); 4407 fbb_.AddElement<uint8_t>(Activation::VT_APPROXIMATE, static_cast<uint8_t>(approximate), 0); [all …]
|
D | gpu_cache_generated.h | 93 flatbuffers::FlatBufferBuilder &fbb_; member 96 fbb_.AddOffset(TuneParam::VT_LOCAL, local); in add_local() 99 fbb_.AddOffset(TuneParam::VT_BLOCK, block); in add_block() 102 fbb_.AddOffset(TuneParam::VT_SHAPE, shape); in add_shape() 105 fbb_.AddOffset(TuneParam::VT_OPPARA, opPara); in add_opPara() 108 : fbb_(_fbb) { in TuneParamBuilder() 109 start_ = fbb_.StartTable(); in TuneParamBuilder() 112 const auto end = fbb_.EndTable(start_); in Finish() 215 flatbuffers::FlatBufferBuilder &fbb_; member 218 fbb_.AddOffset(ProgramBinary::VT_PROGRAM_NAME, program_name); in add_program_name() [all …]
|
/third_party/flatbuffers/tests/cpp17/generated_cpp17/ |
D | optional_scalars2_generated.h | 398 flatbuffers::FlatBufferBuilder &fbb_; member 401 fbb_.AddElement<int8_t>(ScalarStuff::VT_JUST_I8, just_i8, 0); in add_just_i8() 404 fbb_.AddElement<int8_t>(ScalarStuff::VT_MAYBE_I8, maybe_i8); in add_maybe_i8() 407 fbb_.AddElement<int8_t>(ScalarStuff::VT_DEFAULT_I8, default_i8, 42); in add_default_i8() 410 fbb_.AddElement<uint8_t>(ScalarStuff::VT_JUST_U8, just_u8, 0); in add_just_u8() 413 fbb_.AddElement<uint8_t>(ScalarStuff::VT_MAYBE_U8, maybe_u8); in add_maybe_u8() 416 fbb_.AddElement<uint8_t>(ScalarStuff::VT_DEFAULT_U8, default_u8, 42); in add_default_u8() 419 fbb_.AddElement<int16_t>(ScalarStuff::VT_JUST_I16, just_i16, 0); in add_just_i16() 422 fbb_.AddElement<int16_t>(ScalarStuff::VT_MAYBE_I16, maybe_i16); in add_maybe_i16() 425 fbb_.AddElement<int16_t>(ScalarStuff::VT_DEFAULT_I16, default_i16, 42); in add_default_i16() [all …]
|
D | optional_scalars_generated.h | 438 flatbuffers::FlatBufferBuilder &fbb_; member 441 fbb_.AddElement<int8_t>(ScalarStuff::VT_JUST_I8, just_i8, 0); in add_just_i8() 444 fbb_.AddElement<int8_t>(ScalarStuff::VT_MAYBE_I8, maybe_i8); in add_maybe_i8() 447 fbb_.AddElement<int8_t>(ScalarStuff::VT_DEFAULT_I8, default_i8, 42); in add_default_i8() 450 fbb_.AddElement<uint8_t>(ScalarStuff::VT_JUST_U8, just_u8, 0); in add_just_u8() 453 fbb_.AddElement<uint8_t>(ScalarStuff::VT_MAYBE_U8, maybe_u8); in add_maybe_u8() 456 fbb_.AddElement<uint8_t>(ScalarStuff::VT_DEFAULT_U8, default_u8, 42); in add_default_u8() 459 fbb_.AddElement<int16_t>(ScalarStuff::VT_JUST_I16, just_i16, 0); in add_just_i16() 462 fbb_.AddElement<int16_t>(ScalarStuff::VT_MAYBE_I16, maybe_i16); in add_maybe_i16() 465 fbb_.AddElement<int16_t>(ScalarStuff::VT_DEFAULT_I16, default_i16, 42); in add_default_i16() [all …]
|
D | monster_test_generated.h | 787 flatbuffers::FlatBufferBuilder &fbb_; 790 : fbb_(_fbb) { 791 start_ = fbb_.StartTable(); 794 const auto end = fbb_.EndTable(start_); 841 flatbuffers::FlatBufferBuilder &fbb_; 844 : fbb_(_fbb) { 845 start_ = fbb_.StartTable(); 848 const auto end = fbb_.EndTable(start_); 913 flatbuffers::FlatBufferBuilder &fbb_; 916 fbb_.AddElement<uint8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<uint8_t>(color), 2); [all …]
|
/third_party/flatbuffers/tests/ |
D | optional_scalars_generated.h | 445 flatbuffers::FlatBufferBuilder &fbb_; member 448 fbb_.AddElement<int8_t>(ScalarStuff::VT_JUST_I8, just_i8, 0); in add_just_i8() 451 fbb_.AddElement<int8_t>(ScalarStuff::VT_MAYBE_I8, maybe_i8); in add_maybe_i8() 454 fbb_.AddElement<int8_t>(ScalarStuff::VT_DEFAULT_I8, default_i8, 42); in add_default_i8() 457 fbb_.AddElement<uint8_t>(ScalarStuff::VT_JUST_U8, just_u8, 0); in add_just_u8() 460 fbb_.AddElement<uint8_t>(ScalarStuff::VT_MAYBE_U8, maybe_u8); in add_maybe_u8() 463 fbb_.AddElement<uint8_t>(ScalarStuff::VT_DEFAULT_U8, default_u8, 42); in add_default_u8() 466 fbb_.AddElement<int16_t>(ScalarStuff::VT_JUST_I16, just_i16, 0); in add_just_i16() 469 fbb_.AddElement<int16_t>(ScalarStuff::VT_MAYBE_I16, maybe_i16); in add_maybe_i16() 472 fbb_.AddElement<int16_t>(ScalarStuff::VT_DEFAULT_I16, default_i16, 42); in add_default_i16() [all …]
|
D | optional_scalars_generated.rs | 563 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field 569 self.fbb_.push_slot::<i8>(ScalarStuff::VT_JUST_I8, just_i8, 0); in add_just_i8() 573 self.fbb_.push_slot_always::<i8>(ScalarStuff::VT_MAYBE_I8, maybe_i8); in add_maybe_i8() 577 self.fbb_.push_slot::<i8>(ScalarStuff::VT_DEFAULT_I8, default_i8, 42); in add_default_i8() 581 self.fbb_.push_slot::<u8>(ScalarStuff::VT_JUST_U8, just_u8, 0); in add_just_u8() 585 self.fbb_.push_slot_always::<u8>(ScalarStuff::VT_MAYBE_U8, maybe_u8); in add_maybe_u8() 589 self.fbb_.push_slot::<u8>(ScalarStuff::VT_DEFAULT_U8, default_u8, 42); in add_default_u8() 593 self.fbb_.push_slot::<i16>(ScalarStuff::VT_JUST_I16, just_i16, 0); in add_just_i16() 597 self.fbb_.push_slot_always::<i16>(ScalarStuff::VT_MAYBE_I16, maybe_i16); in add_maybe_i16() 601 self.fbb_.push_slot::<i16>(ScalarStuff::VT_DEFAULT_I16, default_i16, 42); in add_default_i16() [all …]
|
D | monster_extra_generated.h | 154 flatbuffers::FlatBufferBuilder &fbb_; member 157 fbb_.AddElement<double>(MonsterExtra::VT_D0, d0, std::numeric_limits<double>::quiet_NaN()); in add_d0() 160 fbb_.AddElement<double>(MonsterExtra::VT_D1, d1, std::numeric_limits<double>::quiet_NaN()); in add_d1() 163 fbb_.AddElement<double>(MonsterExtra::VT_D2, d2, std::numeric_limits<double>::infinity()); in add_d2() 166 fbb_.AddElement<double>(MonsterExtra::VT_D3, d3, -std::numeric_limits<double>::infinity()); in add_d3() 169 fbb_.AddElement<float>(MonsterExtra::VT_F0, f0, std::numeric_limits<float>::quiet_NaN()); in add_f0() 172 fbb_.AddElement<float>(MonsterExtra::VT_F1, f1, std::numeric_limits<float>::quiet_NaN()); in add_f1() 175 fbb_.AddElement<float>(MonsterExtra::VT_F2, f2, std::numeric_limits<float>::infinity()); in add_f2() 178 fbb_.AddElement<float>(MonsterExtra::VT_F3, f3, -std::numeric_limits<float>::infinity()); in add_f3() 181 fbb_.AddOffset(MonsterExtra::VT_DVEC, dvec); in add_dvec() [all …]
|
D | monster_test_generated.rs | 83 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field 91 fbb_: _fbb, in new() 97 let o = self.fbb_.end_table(self.start_); in finish() 197 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field 205 fbb_: _fbb, in new() 211 let o = self.fbb_.end_table(self.start_); in finish() 1745 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field 1751 self.fbb_.push_slot::<Color>(TestSimpleTableWithEnum::VT_COLOR, color, Color::Green); in add_color() 1757 fbb_: _fbb, in new() 1763 let o = self.fbb_.end_table(self.start_); in finish() [all …]
|
D | monster_test_generated.h | 871 flatbuffers::FlatBufferBuilder &fbb_; 874 : fbb_(_fbb) { 875 start_ = fbb_.StartTable(); 878 const auto end = fbb_.EndTable(start_); 924 flatbuffers::FlatBufferBuilder &fbb_; 927 : fbb_(_fbb) { 928 start_ = fbb_.StartTable(); 931 const auto end = fbb_.EndTable(start_); 991 flatbuffers::FlatBufferBuilder &fbb_; 994 fbb_.AddElement<uint8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<uint8_t>(color), 2); [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/fl/ |
D | push_metrics_kernel.h | 37 PushMetricsKernel() : fbb_(nullptr), total_iteration_(0) {} in PushMetricsKernel() 51 if (!BuildPushMetricsReq(fbb_, loss, accuracy)) { in Launch() 64 …if (!fl::worker::FLWorker::GetInstance().SendToServer(fl::kLeaderServerRank, fbb_->GetBufferPointe… in Launch() 65 … fbb_->GetSize(), ps::core::TcpUserCommand::kPushMetrics, in Launch() 100 fbb_ = std::make_shared<fl::FBBuilder>(); in Init() 101 MS_EXCEPTION_IF_NULL(fbb_); in Init() 123 std::shared_ptr<fl::FBBuilder> fbb_; variable
|
D | start_fl_job_kernel.h | 36 if (!BuildStartFLJobReq(fbb_)) { in Launch() 42 …if (!fl::worker::FLWorker::GetInstance().SendToServer(target_server_rank_, fbb_->GetBufferPointer(… in Launch() 43 … fbb_->GetSize(), ps::core::TcpUserCommand::kStartFLJob, in Launch() 88 fbb_ = std::make_shared<fl::FBBuilder>(); in Init() 89 MS_EXCEPTION_IF_NULL(fbb_); in Init() 120 std::shared_ptr<fl::FBBuilder> fbb_; variable
|
D | get_model_kernel.h | 39 if (!BuildGetModelReq(fbb_, inputs)) { in Launch() 48 …if (!fl::worker::FLWorker::GetInstance().SendToServer(target_server_rank_, fbb_->GetBufferPointer(… in Launch() 49 … fbb_->GetSize(), ps::core::TcpUserCommand::kGetModel, in Launch() 100 fbb_ = std::make_shared<fl::FBBuilder>(); in Init() 101 MS_EXCEPTION_IF_NULL(fbb_); in Init() 140 MS_EXCEPTION_IF_NULL(fbb_); in BuildGetModelReq() 151 std::shared_ptr<fl::FBBuilder> fbb_; variable
|
D | update_model_kernel.h | 48 if (!BuildUpdateModelReq(fbb_, inputs)) { in Launch() 54 …if (!fl::worker::FLWorker::GetInstance().SendToServer(target_server_rank_, fbb_->GetBufferPointer(… in Launch() 55 … fbb_->GetSize(), ps::core::TcpUserCommand::kUpdateModel, in Launch() 82 fbb_ = std::make_shared<fl::FBBuilder>(); in Init() 83 MS_EXCEPTION_IF_NULL(fbb_); in Init() 123 MS_EXCEPTION_IF_NULL(fbb_); in BuildUpdateModelReq() 159 std::shared_ptr<fl::FBBuilder> fbb_; variable
|
/third_party/flatbuffers/android/app/src/main/cpp/generated/ |
D | animal_generated.h | 45 flatbuffers::FlatBufferBuilder &fbb_; member 48 fbb_.AddOffset(Animal::VT_NAME, name); in add_name() 51 fbb_.AddOffset(Animal::VT_SOUND, sound); in add_sound() 54 fbb_.AddElement<uint16_t>(Animal::VT_WEIGHT, weight, 0); in add_weight() 57 : fbb_(_fbb) { in AnimalBuilder() 58 start_ = fbb_.StartTable(); in AnimalBuilder() 62 const auto end = fbb_.EndTable(start_); in Finish()
|
/third_party/flatbuffers/tests/namespace_test/ |
D | namespace_test2_generated.h | 153 flatbuffers::FlatBufferBuilder &fbb_; member 156 fbb_.AddOffset(TableInFirstNS::VT_FOO_TABLE, foo_table); in add_foo_table() 159 fbb_.AddElement<int8_t>(TableInFirstNS::VT_FOO_ENUM, static_cast<int8_t>(foo_enum), 0); in add_foo_enum() 162 …fbb_.AddElement<uint8_t>(TableInFirstNS::VT_FOO_UNION_TYPE, static_cast<uint8_t>(foo_union_type), … in add_foo_union_type() 165 fbb_.AddOffset(TableInFirstNS::VT_FOO_UNION, foo_union); in add_foo_union() 168 fbb_.AddStruct(TableInFirstNS::VT_FOO_STRUCT, foo_struct); in add_foo_struct() 171 : fbb_(_fbb) { in TableInFirstNSBuilder() 172 start_ = fbb_.StartTable(); in TableInFirstNSBuilder() 175 const auto end = fbb_.EndTable(start_); in Finish() 263 flatbuffers::FlatBufferBuilder &fbb_; member [all …]
|