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

Function lookup

tests/unittest/trt/python_plugin/test_plugin_wrapper.py:62–64  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

60 dtype=torch_dtype_to_trt(dtype))
61
62 def lookup(x, y):
63 lookup_plugin = LookUpPlugin(to_torch, fp32_output)
64 return lookup_plugin(x, y)
65
66 output = lookup(x, y)
67

Callers 1

test_triton_pluginFunction · 0.70

Calls 1

LookUpPluginClass · 0.90

Tested by

no test coverage detected