Files
mediapipe/mediapipe
Nikolay ChirkovandCopybara-Service 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
..
2023-01-11 14:24:00 -08:00
2023-01-12 10:22:00 -08:00
2022-12-13 16:04:00 -08:00
2022-12-12 21:30:31 -08:00
2023-01-17 15:51:07 -08:00
2022-11-10 18:06:35 -08:00
2022-05-05 19:57:20 +00:00