pub fn export_to_json(output: &Tensor) -> Result<String>
Export a tensor’s computational graph to ONNX JSON string
Use this when file system access is not available (e.g. WASM).