Files
mediapipe/mediapipe/calculators/tensor
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
..
2022-11-07 17:23:46 -08:00
2022-11-18 08:47:09 -08:00
2022-09-28 21:32:36 +00:00
2022-11-07 17:23:46 -08:00
2022-11-21 13:06:47 -08:00
2022-09-28 16:47:33 -07:00