Files
mediapipe/mediapipe/framework/formats
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-12-20 16:41:49 -08:00
2023-01-11 16:07:22 -08:00
2022-10-25 12:53:39 -07:00
2022-09-28 21:32:36 +00:00
2022-09-28 21:32:36 +00:00
2022-09-28 21:32:36 +00:00
2022-09-28 21:32:36 +00:00
2022-09-28 21:32:36 +00:00
2022-09-06 21:46:17 +00:00
2022-03-21 12:12:39 -07:00
2022-03-21 12:12:39 -07:00
2023-01-04 08:23:56 -08:00