Home
last modified time | relevance | path

Searched refs:AsMap (Results 1 – 6 of 6) sorted by relevance

/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_custom_parser.cc83 auto attr_map = flexbuffers::GetRoot(custom_attr).AsMap(); in DetectPostProcess()
114 auto attr_map = flexbuffers::GetRoot(custom_attr).AsMap(); in AudioSpectrogram()
126 auto attr_map = flexbuffers::GetRoot(custom_attr).AsMap(); in Mfcc()
/third_party/flatbuffers/tests/
Dpy_flexbuffers_test.py288 type(root).AsFixedTypedVector, type(root).AsMap):
316 type(root).AsFixedTypedVector, type(root).AsMap):
346 type(root).AsFixedTypedVector, type(root).AsMap):
454 self.assertTrue(flexbuffers.GetRoot(data).AsMap['x'].MutateInt(14))
455 self.assertTrue(flexbuffers.GetRoot(data).AsMap['y'].MutateInt(-1))
465 type(root).AsFixedTypedVector, type(root).AsMap):
932 root.AsMap # pylint: disable=pointless-statement
995 self.assertEqual(len(root.AsMap), 0)
1030 m = root.AsMap
1313 return [key.AsKey for key in flexbuffers.GetRoot(data).AsMap.Keys]
Dtest.cpp2940 auto map = flexbuffers::GetRoot(slb.GetBuffer()).AsMap(); in FlexBuffersTest()
2975 auto mymap = map["mymap"].AsMap(); in FlexBuffersTest()
2998 auto jmap = jroot.AsMap(); in FlexBuffersTest()
3034 auto jmap = jroot.AsMap(); in FlexBuffersFloatingPointTest()
3783 TEST_EQ(root.AsMap()["opt_field"].AsInt64(), 123); in ParseFlexbuffersFromJsonWithNullTest()
3791 TEST_EQ(root.AsMap()["opt_field"].AsDouble(), 123.4); in ParseFlexbuffersFromJsonWithNullTest()
3799 TEST_ASSERT(!root.AsMap().IsTheEmptyMap()); in ParseFlexbuffersFromJsonWithNullTest()
3800 TEST_ASSERT(root.AsMap()["opt_field"].IsNull()); in ParseFlexbuffersFromJsonWithNullTest()
/third_party/flatbuffers/include/flatbuffers/
Dflexbuffers.h571 auto m = AsMap(); in ToString()
645 Map AsMap() const { in AsMap() function
800 template<> inline Map Reference::As<Map>() const { return AsMap(); }
/third_party/flatbuffers/docs/source/
DFlexBuffers.md107 auto map = flexbuffers::GetRoot(my_buffer).AsMap();
/third_party/flatbuffers/python/flatbuffers/
Dflexbuffers.py797 def AsMap(self): member in Ref
828 return self.AsMap.Value