(self, tag)
return hist_tensor
Compute a histogram of the current tensor values.

        Arguments:
            tag (string): Tag to identify the current state of the tensor,
                          useful for disambiguating multiple histograms of the
                          same tensor at different points in time.

        Returns:
            Tensor containing the histogram data.
Compute a histogram of the current tensor values.
Compute a histogram of the current tensor values .
def hist(self, tag):
        """
        Compute a histogram of the current tensor values.

        Arguments:
            tag (string): Tag to identify the current state of the tensor,
                          useful for disambiguating multiple histograms of the
                          same tensor at different points in time.

        Returns:
            Tensor containing the histogram data.

        """
        nbins = self.backend.hist_bins
        offset = self.backend.hist_offset
        from neon.backends.float_ew import _compute_hist
        hist_tensor = self.backend._hist_tensor(tag)
        _compute_hist(self, hist_tensor.gpudata, nbins, offset)
        return hist_tensor
def hist ( self , tag ) : nbins = self . backend . hist_bins offset = self . backend . hist_offset from neon . backends . float_ew import _compute_hist hist_tensor = self . backend . _hist_tensor ( tag ) _compute_hist ( self , hist_tensor . gpudata , nbins , offset ) return hist_tensor