mediapipe/mediapipe
Nikolay Chirkov 1124569c29 Tensor: Make tensor not requiring "-x objective-c++" option.
In this case tensor.h is compiled differently for C++ and Objective-C++ that violates ODR (once definition rule). Tensor has no virtual methods conditionally compiled but some Metal-related data members. Instead, unique_ptr to MtlResources that is declared as forward structure is unconditionally defined in the tensor class. MtlResources is defined differently in cc-file only that compiled just once per project so no ODR violation is here.

PiperOrigin-RevId: 504029286
2023-01-23 11:00:35 -08:00
..
calculators Tensor: Make tensor not requiring "-x objective-c++" option. 2023-01-23 11:00:35 -08:00
docs Project import generated by Copybara. 2020-06-12 15:44:38 -04:00
examples Internal change 2023-01-11 14:24:00 -08:00
framework Tensor: Make tensor not requiring "-x objective-c++" option. 2023-01-23 11:00:35 -08:00
gpu Internal change 2023-01-12 10:22:00 -08:00
graphs Internal change 2022-12-13 16:04:00 -08:00
java/com/google/mediapipe Enable creating mediapipe image c++ packet directly from an Android media image object when its format is RGBA_8888. 2022-12-21 08:07:53 -08:00
MediaPipe.tulsiproj Project import generated by Copybara. 2021-06-03 17:04:35 -04:00
model_maker Adds smaller MobileBERT model. 2023-01-11 20:35:39 -08:00
models Project import generated by Copybara. 2022-09-06 21:46:17 +00:00
modules Internal change 2022-12-12 21:30:31 -08:00
objc Sets the graph service packets before initializing (and validating the graph) in the objc graph wrapper. 2022-12-29 08:36:03 -08:00
python This CL will fix the typo from _PALM_LANMARKS to _PALM_LANDMARKS. 2023-01-19 22:14:16 -08:00
tasks Tensor: Make tensor not requiring "-x objective-c++" option. 2023-01-23 11:00:35 -08:00
util Internal change 2023-01-17 15:51:07 -08:00
web/graph_runner Add mediapipe::Image output to the graph runner 2023-01-19 10:41:13 -08:00
__init__.py Fix comment for mediapipe license. 2022-11-10 18:06:35 -08:00
BUILD Project import generated by Copybara. 2022-05-05 19:57:20 +00:00