RSS 2019-09 - 1/1 Blog benchmark (4) onnx (8)


2019-09 - 1/1#

Operator CDist#

2019-09-16

Notebooks Pairwise distances with ONNX (pdist) shows how much slower an ONNX implementation of function cdist, from 3 to 10 times slower. One way to optimize the converted model is to create dedicated operator such as one for function cdist. Tutorial Converters with options explains how to tell function to_onnx to use the custom operator CDist.

post


RSS 2019-09 - 1/1 2021-08 (3) 2022-02 (1) 2022-05 (1) 2022-06 (1) 2022-11 (1)