MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT-LLM / lookup

Function lookup

examples/python_plugin/build_lookup.py:37–39  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

35 dtype=torch_dtype_to_trt(dtype))
36
37 def lookup(x, y):
38 lookup_plugin = LookUpPlugin(False, True)
39 return lookup_plugin(x, y)
40
41 output = lookup(x, y)
42

Callers 1

testFunction · 0.70

Calls 1

LookUpPluginClass · 0.90

Tested by

no test coverage detected