MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / process

Method process

Compiler/ml.py:2629–2630  ·  view source on GitHub ↗
(pool, bi, k, i, j)

Source from the content-addressed store, hash-verified

2627
2628 def _forward(self, batch):
2629 def process(pool, bi, k, i, j):
2630 self.Y[bi][i][j][k] = sum(x[0] for x in pool) * (1 / self.pool_size)
2631 self.traverse(batch, process)
2632
2633 def backward(self, compute_nabla_X=True, batch=None):

Callers

nothing calls this directly

Calls 3

sumFunction · 0.85
get_programFunction · 0.85
protect_memoryMethod · 0.80

Tested by

no test coverage detected