MCPcopy
hub / github.com/NVIDIA/TensorRT-LLM / view

Method view

tensorrt_llm/functional.py:408–412  ·  view source on GitHub ↗

See functional.view.

(self, shape, zero_is_placeholder=True)

Source from the content-addressed store, hash-verified

406 return op_or(self.__lt__(b), self.__eq__(b))
407
408 def view(self, shape, zero_is_placeholder=True):
409 '''
410 See functional.view.
411 '''
412 return view(self, shape, zero_is_placeholder)
413
414 def flatten(self, start_dim=0, end_dim=-1):
415 '''

Callers 15

test_gatherMethod · 0.95
mha_refFunction · 0.45
forwardMethod · 0.45
backwardMethod · 0.45
mha_refFunction · 0.45
fmha_bmark.pyFile · 0.45
copy_to_cache_pagesFunction · 0.45
test_gpt_attentionMethod · 0.45
__init__Method · 0.45
_split_headsMethod · 0.45
_merge_headsMethod · 0.45
_woq_groupwise_matmulMethod · 0.45

Calls 1

viewFunction · 0.85

Tested by 15

test_gatherMethod · 0.76
copy_to_cache_pagesFunction · 0.36
test_gpt_attentionMethod · 0.36
__init__Method · 0.36
_split_headsMethod · 0.36
_merge_headsMethod · 0.36
_woq_groupwise_matmulMethod · 0.36