Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ test_matrix_from_object_without_2d_shape
Function
test_matrix_from_object_without_2d_shape
tools/python/test/test_matrix.py:74–77 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
72
73
74
def
test_matrix_from_object_without_2d_shape():
75
with
raises(IndexError):
76
m1 = numpy.array([0, 1, 2])
77
matrix(m1)
78
79
80
def
test_matrix_from_object_without_shape():
Callers
nothing calls this directly
Calls
2
matrix
Class · 0.90
array
Method · 0.45
Tested by
no test coverage detected