Computes the histogram of a tensor.
The elements in tensor [object Object] are sorted into equal width bins between [object Object] (lower limit) and [object Object] (upper limit). If both [object Object] and [object Object] are equal, the minimum and maximum values of all elements in the tensor are used as the lower and upper limits. Elements lower than [object Object] and greater than [object Object] are ignored.
Each operator has calls. First, [object Object] is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, [object Object] is called to perform computation.
Parameters:
[object Object]Returns:
[object Object]: status code. For details, see .The first-phase API implements input parameter validation. The following error codes may be returned:
[object Object]
- Deterministic computing:
[object Object]defaults to a deterministic implementation.
The following example is for reference only. For details, see .