Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/NVIDIA/TensorRT-LLM
/ sqrt
Method
sqrt
tensorrt_llm/functional.py:450–454 ·
view source on GitHub ↗
See functional.sqrt.
(self)
Source
from the content-addressed store, hash-verified
448
return
abs(self)
449
450
def
sqrt(self):
451
''
&
#x27;
452
See functional.sqrt.
453
''
&
#x27;
454
return
sqrt(self)
455
456
def
squeeze(self, dim, zero_is_placeholder):
457
''
&
#x27;
Callers
15
assert_close
Function · 0.80
run_test
Function · 0.80
mha_ref
Function · 0.80
mha_ref
Function · 0.80
gelu
Method · 0.80
create_weights
Method · 0.80
create_lora_weights
Method · 0.80
calculate_ref_result
Function · 0.80
calculate_ref_result_ctx
Function · 0.80
calculate_ref_result_gen
Function · 0.80
test_flashinfer_prefill
Function · 0.80
test_attention_backend
Function · 0.80
Calls
no outgoing calls
Tested by
15
assert_close
Function · 0.64
run_test
Function · 0.64
gelu
Method · 0.64
create_weights
Method · 0.64
create_lora_weights
Method · 0.64
calculate_ref_result
Function · 0.64
calculate_ref_result_ctx
Function · 0.64
calculate_ref_result_gen
Function · 0.64
test_flashinfer_prefill
Function · 0.64
test_attention_backend
Function · 0.64
test_attention_backend_ifb
Function · 0.64
test_flash_mla_sparse_fwd
Function · 0.64