Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT-LLM
/ decode
Method
decode
tensorrt_llm/models/gemma/utils/modules.py:58–59 ·
view source on GitHub ↗
(self, x: jax.Array)
Source
from the content-addressed store, hash-verified
56
return
x
57
58
def
decode(self, x: jax.Array) -> jax.Array:
59
return
jnp.dot(x, self.input_embedding_table.T)
60
61
62
class
Attention(nn.Module):
Callers
15
deserialize_managed_weights
Function · 0.45
generate_async
Method · 0.45
_truncate_prompt
Method · 0.45
_decode_tokens
Function · 0.45
add_events_from_resp
Method · 0.45
get
Method · 0.45
get_prefix
Method · 0.45
keys
Method · 0.45
get
Method · 0.45
_safe_decode_utf8
Method · 0.45
encode_opaque_state
Function · 0.45
create_logprobs
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected