Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ test_strides
Method
test_strides
c_glib/test/test-tensor.rb:73–76 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
71
end
72
73
def test_strides
74
require_gi_bindings(3, 3, 1)
75
assert_equal([4, 2, 1], @tensor.strides)
76
end
77
78
def test_n_dimensions
79
assert_equal(@shape.size, @tensor.n_dimensions)
Callers
nothing calls this directly
Calls
1
strides
Method · 0.45
Tested by
no test coverage detected