Internal change

PiperOrigin-RevId: 522398388
This commit is contained in:
MediaPipe Team 2023-04-06 12:01:50 -07:00 committed by Copybara-Service
parent 3588be3342
commit 489d684699
4 changed files with 9 additions and 1 deletions

View File

@ -347,7 +347,8 @@ message CalculatorGraphConfig {
// PacketGenerators can take as a input side packet the output side
// packet of another PacketGenerator. The graph of PacketGenerators
// must be a directed acyclic graph.
repeated PacketGeneratorConfig packet_generator = 7;
// DEPRECATED: Use a Node to generate side packets.
repeated PacketGeneratorConfig packet_generator = 7 [deprecated = true];
// Number of threads for running calculators in multithreaded mode.
// If not specified, the scheduler will pick an appropriate number
// of threads depending on the number of available processors.

View File

@ -18,6 +18,7 @@
#include <string>
#include <type_traits>
#include "absl/base/attributes.h"
#include "absl/base/macros.h"
#include "absl/memory/memory.h"
#include "mediapipe/framework/deps/registration.h"

View File

@ -17,6 +17,7 @@
// ONLY used by mediapipe open source project.
//
// Messages for specifying PacketGenerators.
// DEPRECATED: Use a Node to generate side packets.
syntax = "proto2";
@ -27,6 +28,8 @@ option java_outer_classname = "PacketGeneratorProto";
// Options used by a PacketGenerator.
message PacketGeneratorOptions {
option deprecated = true;
// If true, this proto specifies a subset of field values,
// which should override corresponding field values.
optional bool merge_fields = 1 [default = true];
@ -36,6 +39,8 @@ message PacketGeneratorOptions {
// The settings specifying a packet generator and how it is connected.
message PacketGeneratorConfig {
option deprecated = true;
// The name of the registered packet generator class.
optional string packet_generator = 1;

View File

@ -20,6 +20,7 @@
#include <string>
#include <vector>
#include "absl/base/attributes.h"
#include "absl/base/macros.h"
#include "mediapipe/framework/executor.h"
#include "mediapipe/framework/packet.h"