MCPcopy Create free account
hub / github.com/pytorch/executorch / any_is_empty

Method any_is_empty

backends/vulkan/utils.py:1255–1259  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1253 return self.vals.append(val)
1254
1255 def any_is_empty(self) -> bool:
1256 if len(self.vals) == 0:
1257 return True
1258
1259 return any(tensor_repr.is_empty() for tensor_repr in self.vals)
1260
1261
1262class OpRepSets:

Callers 3

Calls 1

is_emptyMethod · 0.45

Tested by 3