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

Function saveSpecificationPath

mlmodel/src/Utils.hpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36
37 static inline Result saveSpecificationPath(const Specification::Model& formatObj,
38 const std::string& path) {
39 Model m(formatObj);
40 return m.save(path);
41 }
42
43 template <typename T>
44 static inline Result loadSpecification(T& formatObj,

Callers

nothing calls this directly

Calls 1

saveMethod · 0.45

Tested by

no test coverage detected