Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/data61/MP-SPDZ
/ randomize
Method
randomize
Compiler/ml.py:248–250 ·
view source on GitHub ↗
(self, *args, **kwargs)
Source
from the content-addressed store, hash-verified
246
return
super(Tensor, self).assign_vector_by_indices(*args)
247
248
def
randomize(self, *args, **kwargs):
249
self.alloc()
250
return
super(Tensor, self).randomize(*args, **kwargs)
251
252
class
Layer:
253
n_threads = 1
Callers
2
reset
Method · 0.45
reset
Method · 0.45
Calls
1
alloc
Method · 0.45
Tested by
no test coverage detected