code: def _test_histogram(self, tensors, bin_edges):
      total_size = 0
      input_blob_names = []
  
      for idx, tensor in enumerate(tensors):
          total_size += np.size(tensor)
          tensor_blob_name = f"X{idx}"
          workspace.FeedBlob(tensor_blob_name, tensor)
          input_blob_names.append(tensor_blob_name)
  
      output_name = "histogram"
      net = core.Net("test_net")
      net.Histogram(
          input_blob_names, [output_name], bin_edges=bin_edges
      )
  
      workspace.RunNetOnce(net)
      histogram_blob = workspace.FetchBlob(output_name)
  
      assert np.size(histogram_blob) == len(bin_edges) - 1
      assert np.sum(histogram_blob) == total_size
  
file_path: pytorch/caffe2/python/operator_test/histogram_test.py
imports: import unittest
  import caffe2.python.hypothesis_test_util
  import hypothesis.strategies
  import numpy
  from caffe2.python import core, workspace
  from hypothesis import given, settings
label_desc: Use image node_id 7 for calling the TestHistogram obj's underlying member method code with example usage: obj._test_histogram(tensors, bin_edges) without return types