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

Method get_users

tensorrt_llm/functional.py:552–554  ·  view source on GitHub ↗

Get the layers that use this tensor as an input.

(self)

Source from the content-addressed store, hash-verified

550 return self.network.get_tensor_parent(self)
551
552 def get_users(self):
553 ''' Get the layers that use this tensor as an input. '''
554 return self.network.get_tensor_users(self)
555
556 def replace_all_uses_with(self, new_tensor):
557 '''

Callers 4

replace_all_uses_withMethod · 0.95
test_get_tensor_usersMethod · 0.80
test_pattern_rewriterMethod · 0.80
match_and_rewriteMethod · 0.80

Calls 1

get_tensor_usersMethod · 0.80

Tested by 2

test_get_tensor_usersMethod · 0.64
test_pattern_rewriterMethod · 0.64