hashtron.layer.majpool2d package¶
Submodules¶
hashtron.layer.majpool2d.combiner module¶
- class hashtron.layer.majpool2d.combiner.MajPool2D(vec, width, height, subwidth, subheight, capwidth, capheight, repeat, bias)[source]¶
Bases:
object- disregard(n: int) bool[source]¶
Check if setting the n-th boolean value to False would not affect any feature output.
- Parameters:
n – The index of the boolean value to check.
- Returns:
True if setting the value to False would not affect the output, False otherwise.