MCPcopy Create free account
hub / github.com/apple/coremltools / setObject

Method setObject

modelpackage/src/utils/JsonMap.cpp:93–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void JsonMapImpl::setObject(const std::string& key, std::unique_ptr<JsonMapImpl> value) {
94 m_jsonObject[key] = value->m_jsonObject;
95}
96
97void JsonMapImpl::deserialize(std::istream& stream) {
98 if(!stream.good()) {

Callers 8

removeItemInfoEntryMethod · 0.80
createItemInfoEntryMethod · 0.80
testProto2BasicsMethod · 0.80
testProto3BasicsMethod · 0.80
testSerializationMethod · 0.80
testEvilNamesMethod · 0.80
testEvilNamesMethod · 0.80
testEvilNamesMethod · 0.80

Calls 1

moveFunction · 0.85

Tested by 6

testProto2BasicsMethod · 0.64
testProto3BasicsMethod · 0.64
testSerializationMethod · 0.64
testEvilNamesMethod · 0.64
testEvilNamesMethod · 0.64
testEvilNamesMethod · 0.64