Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ texture_is_valid
Method
texture_is_valid
backends/vulkan/utils.py:952–953 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
950
)
951
952
def
texture_is_valid(self):
953
return
len(self.valid_texture_layouts) > 0
954
955
def
buffer_is_valid(self):
956
return
len(self.valid_buffer_layouts) > 0
Callers
7
make_tensor_repr
Method · 0.95
test_empty_repset
Method · 0.95
test_non_empty_repset
Method · 0.95
test_texture_only_repset
Method · 0.95
test_buffer_only_repset
Method · 0.95
test_try_constrain_with_arg_repset_narrows
Method · 0.80
test_high_dim_tensor_filters_texture_layouts
Method · 0.80
Calls
no outgoing calls
Tested by
6
test_empty_repset
Method · 0.76
test_non_empty_repset
Method · 0.76
test_texture_only_repset
Method · 0.76
test_buffer_only_repset
Method · 0.76
test_try_constrain_with_arg_repset_narrows
Method · 0.64
test_high_dim_tensor_filters_texture_layouts
Method · 0.64