コード例 #1
0
def test_empty_int():
  s = (2,2,2,2)
  x = parakeet.empty(s, dtype=np.uint8)
  assert x.shape == s
  assert x.dtype == np.uint8
コード例 #2
0
def test_empty():
  s = (20, 20, 3)
  x = parakeet.empty(s)
  assert x.shape == s