MCPcopy 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
252class Layer:
253 n_threads = 1

Callers 2

resetMethod · 0.45
resetMethod · 0.45

Calls 1

allocMethod · 0.45

Tested by

no test coverage detected