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

Method first_valid_buffer_layout

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

Source from the content-addressed store, hash-verified

956 return len(self.valid_buffer_layouts) > 0
957
958 def first_valid_buffer_layout(self):
959 return list(self.valid_buffer_layouts)[0]
960
961 def first_valid_texture_layout(self):
962 return list(self.valid_texture_layouts)[0]

Callers 1

make_tensor_reprMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected