code: def check_can_broadcast(X, Y):
      for i, j in zip(X.shape, Y.shape):
          if i != j and i != 1 and j != 1:
              return False
      return True
  
file_path: neoml/NeoML/Python/neoml/Utils.py
imports: import numpy
  from scipy.sparse import csr_matrix, issparse
  from neoml.Dnn.Dnn import Layer
label_desc: Use image node_id 4 for calling a global function with example usage: check_can_broadcast(X, Y) and returns: True, False