Documentation
Dlang.org
grain.testing
grain
Members
Functions
assertAllClose
void
assertAllClose
(
T1
actual
,
T2
desired
,
string
msg
=
""
,
double
rtol
=
1e-7
,
double
atol
=
0
)
assert tensor elements are all close
assertEqual
void
assertEqual
(
T1
actual
,
T2
desired
,
string
info
=
"none"
)
assert all elements are equal
Meta
Source
See Source File
grain
modules
allocator
cl
core
cuda
dlpack
opencl
ops
random
storage
tensor
testing