coremltools icon indicating copy to clipboard operation
coremltools copied to clipboard

CoreML maps tensorflow's pad op's symmetric mode to reflect mode.

Open philloooo opened this issue 1 year ago • 0 comments

See here https://github.com/apple/coremltools/blob/0e292a072452db19d1e64b687a372c0c54704a90/coremltools/converters/mil/frontend/tensorflow/ops.py#L1897

The pad symmetric mode is mapped to reflect mode, but according to tensorflow documentation the behavior is different - symmetric mode includes the edge values. So it should report as an error that symmetric mode is not supported by CoreML?

philloooo avatar Jul 18 '24 20:07 philloooo