MCPcopy Create free account
hub / github.com/apache/tvm-ffi / ToJSONGraphString

Function ToJSONGraphString

src/ffi/extra/serialization.cc:450–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448Any FromJSONGraphString(const String& value) { return FromJSONGraph(json::Parse(value)); }
449
450String ToJSONGraphString(const Any& value, const Any& metadata) {
451 return json::Stringify(ToJSONGraph(value, metadata));
452}
453
454TVM_FFI_STATIC_INIT_BLOCK() {
455 namespace refl = tvm::ffi::reflection;

Callers

nothing calls this directly

Calls 2

StringifyFunction · 0.85
ToJSONGraphFunction · 0.70

Tested by

no test coverage detected