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

Method setString

modelpackage/src/utils/JsonMap.cpp:89–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87/* ==== Setter methods ==== */
88
89void JsonMapImpl::setString(const std::string& key, const std::string& value) {
90 m_jsonObject[key] = value;
91}
92
93void JsonMapImpl::setObject(const std::string& key, std::unique_ptr<JsonMapImpl> value) {
94 m_jsonObject[key] = value->m_jsonObject;

Callers 4

ModelPackageImplMethod · 0.45
createItemInfoEntryMethod · 0.45
setRootModelMethod · 0.45
replaceRootModelMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected