code: def test_binary_crossentropy(self):
      y_a = np.random.random([5, 6, 7])
      y_b = np.random.random([5, 6, 7])
      kloss = objectives.binary_crossentropy
      bloss = OptimConverter.to_bigdl_criterion("binary_crossentropy")
      self.compare_loss(y_a, y_b, kloss, bloss)
  
file_path: BigDL/python/dllib/test/bigdl/nn/test_loss.py
imports: from __future__ import print_function
  import numpy
  import pytest
  from keras import objectives
  from bigdl.dllib.nn.keras.optimization import OptimConverter
  from test.bigdl.test_utils import BigDLTestCase
label_desc: Use image node_id 5 for calling the TestLoss obj's underlying member method code with example usage: obj.test_binary_crossentropy() without return types