1124569c29
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 |
||
---|---|---|
.. | ||
calculators | ||
docs | ||
examples | ||
framework | ||
gpu | ||
graphs | ||
java/com/google/mediapipe | ||
MediaPipe.tulsiproj | ||
model_maker | ||
models | ||
modules | ||
objc | ||
python | ||
tasks | ||
util | ||
web/graph_runner | ||
__init__.py | ||
BUILD |