|
def | setUpClass (cls) |
|
def | test_load_from_github (self) |
|
def | test_set_dir (self) |
|
def | __init__ (self, method_name='runTest') |
|
def | assertLeaksNoCudaTensors (self, name=None) |
|
def | wrap_with_cuda_memory_check (self, method) |
|
def | setUp (self) |
|
def | assertTensorsSlowEqual (self, x, y, prec=None, message='') |
|
def | genSparseTensor (self, size, sparse_dim, nnz, is_uncoalesced, device='cpu') |
|
def | safeToDense (self, t) |
|
def | safeCoalesce (self, t) |
|
def | assertEqual (self, x, y, prec=None, message='', allow_inf=False) |
|
def | assertAlmostEqual (self, x, y, places=None, msg=None, delta=None, allow_inf=None) |
|
def | assertNotEqual (self, x, y, prec=None, message='') |
|
def | assertObjectIn (self, obj, iterable) |
|
def | assertExpectedRaises (self, exc_type, callable, args, kwargs) |
|
def | assertWarns (self, callable, msg='') |
|
def | assertWarnsRegex (self, callable, regex, msg='') |
|
def | assertExpected (self, s, subname=None) |
|
def | assertExpectedInline (self, actual, expect, skip=0) |
|
Definition at line 498 of file test_utils.py.