mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-09 13:37:58 -05:00
Fix regression.
This commit is contained in:
@@ -885,7 +885,10 @@ class Dense(DenseBase):
|
||||
|
||||
def compute_f_input(self, batch):
|
||||
N = len(batch)
|
||||
prod = MultiArray([N, self.d, self.d_out], sfix)
|
||||
if self.input_bias:
|
||||
prod = MultiArray([N, self.d, self.d_out], sfix)
|
||||
else:
|
||||
prod = self.f_input
|
||||
|
||||
# flattened_array version
|
||||
result_matrix = sfix.Matrix(N * self.d, self.d_out, address=prod.address)
|
||||
|
||||
Reference in New Issue
Block a user