MCPcopy Create free account
hub / github.com/apache/tvm / _cubic_kernel

Function _cubic_kernel

python/tvm/topi/image/resize.py:219–221  ·  view source on GitHub ↗

perform cubic interpolation in 1D

(inputs, w)

Source from the content-addressed store, hash-verified

217
218
219def _cubic_kernel(inputs, w):
220 """perform cubic interpolation in 1D"""
221 return sum([a_i * w_i for a_i, w_i in zip(inputs, w)])
222
223
224def _resize_1d(

Callers 3

_resize_1dFunction · 0.85
_resize_2dFunction · 0.85
_resize_3dFunction · 0.85

Calls 1

sumFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…