MCPcopy Create free account
hub / github.com/OpenMined/TenSEAL / save_load

Function save_load

tests/python/sealapi/test_modulus.py:19–23  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

17 assert not testcase.is_prime()
18
19 def save_load(path):
20 testcase.save(path)
21 save_test = sealapi.Modulus(0)
22 save_test.load(path)
23 assert save_test.value() == 1023
24
25 tmp_file(save_load)
26

Callers

nothing calls this directly

Calls 2

saveMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected