code: def BinaryProduct(X, Y):
      """Binary Matrices or Matrix-vector product in Z/2Z. Works with scipy.sparse.csr_matrix matrices X,Y too."""
  
      A = X.dot(Y)
  
      return A % 2
  
imports: import numpy
  from math import log, tanh
label_desc: Use image node_id 3 for calling a global function with example usage: BinaryProduct(X, Y) and returns: unknown