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

Function cubic_weight_1

python/tvm/topi/testing/grid_sample_python.py:142–143  ·  view source on GitHub ↗
(x_fraction)

Source from the content-addressed store, hash-verified

140 A = -0.75
141
142 def cubic_weight_1(x_fraction):
143 return ((A + 2) * x_fraction - (A + 3)) * x_fraction * x_fraction + 1
144
145 def cubic_weight_2(x_fraction):
146 return ((A * x_fraction - 5 * A) * x_fraction + 8 * A) * x_fraction - 4 * A

Callers 1

cubic_interp_1dFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…