This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def merge_output_shape(self): | |
return 1, | |
def merge_mode(self, sigmoid_tensors): | |
if len(sigmoid_tensors) % 2 != 1: | |
raise Exception("len(sigmoid_tensors) must be uneven!") | |
nb_zeroes = 0 | |
nb_ones = 0 | |
for sigmoid_tensor in sigmoid_tensors: |