Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ test_n_dimensions
Method
test_n_dimensions
c_glib/test/test-tensor.rb:78–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
end
77
78
def test_n_dimensions
79
assert_equal(@shape.size, @tensor.n_dimensions)
80
end
81
82
def test_dimension_name
83
dimension_names = @tensor.n_dimensions.times.collect do |i|
Callers
nothing calls this directly
Calls
1
size
Method · 0.45
Tested by
no test coverage detected