Fixed comment and added note.

PiperOrigin-RevId: 521772542
This commit is contained in:
MediaPipe Team 2023-04-04 08:37:33 -07:00 committed by Copybara-Service
parent ec1d84aff7
commit 65a98be809

View File

@ -62,9 +62,9 @@ namespace tool {
// Example usage: // Example usage:
// CalculatorGraphConfig config = tool::ParseGraphFromFileOrDie("config.txt"); // CalculatorGraphConfig config = tool::ParseGraphFromFileOrDie("config.txt");
// std::vector<Packet> packet_dump; // std::vector<Packet> packet_dump;
// tool::AddVectorSink("output_samples", &config, &packet_dump, // tool::AddVectorSink("output_samples", &config, &packet_dump);
// /*use_std_function=*/true); // // Call tool::AddVectorSink() more times if you wish. Note that each stream
// // Call tool::AddVectorSink() more times if you wish. // // needs to get its own packet vector.
// CalculatorGraph graph; // CalculatorGraph graph;
// CHECK_OK(graph.Initialize(config)); // CHECK_OK(graph.Initialize(config));
// // Set other input side packets. // // Set other input side packets.