Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ test_buffer
Method
test_buffer
c_glib/test/test-tensor.rb:64–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
62
end
63
64
def test_buffer
65
assert_equal(@raw_data, @tensor.buffer.data.to_s.unpack(
"c*"
))
66
end
67
68
def test_shape
69
require_gi_bindings(3, 3, 1)
Callers
nothing calls this directly
Calls
4
unpack
Method · 0.45
to_s
Method · 0.45
data
Method · 0.45
buffer
Method · 0.45
Tested by
no test coverage detected