Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ has_rejected_node
Method
has_rejected_node
exir/backend/operator_support.py:31–32 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
29
return
self._rejected_nodes
30
31
def
has_rejected_node(self) -> bool:
32
return
self.num_rejected() > 0
33
34
def
num_rejected(self) -> int:
35
return
len(self._rejected_nodes)
Callers
8
test_single_reject_tosa_FP
Function · 0.80
test_multiple_reject_tosa_FP
Function · 0.80
test_torch_op_reject_tosa_FP
Function · 0.80
test_string_op_reject_tosa_FP
Function · 0.80
test_name_reject_tosa_FP
Function · 0.80
test_module_reject_tosa_FP
Function · 0.80
test_inexact_module_reject_tosa_FP
Function · 0.80
test_module_instance_reject_tosa_FP
Function · 0.80
Calls
1
num_rejected
Method · 0.95
Tested by
8
test_single_reject_tosa_FP
Function · 0.64
test_multiple_reject_tosa_FP
Function · 0.64
test_torch_op_reject_tosa_FP
Function · 0.64
test_string_op_reject_tosa_FP
Function · 0.64
test_name_reject_tosa_FP
Function · 0.64
test_module_reject_tosa_FP
Function · 0.64
test_inexact_module_reject_tosa_FP
Function · 0.64
test_module_instance_reject_tosa_FP
Function · 0.64