Skip to content

Commit c255955

Browse files
Internal rather than public (Numpy histogram)
1 parent 992002c commit c255955

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TorchSharp/Tensor/torch.ComparisonOps.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public static Tensor searchsorted(Tensor sorted_sequence, Scalar values, bool ou
288288
/// <param name="range"> Defines the range of the bins. </param>
289289
/// <param name="density"> If False, the result will contain the count (or total weight) in each bin. If True, the result is the value of the probability density function over the bins, normalized such that the integral over the range of the bins is 1. </param>
290290
/// <returns></returns>
291-
public static (Tensor hist, Tensor bin_edges) histogram(Tensor input, HistogramBinSelector bins, (double min, double max)? range = null, bool density = false)
291+
internal static (Tensor hist, Tensor bin_edges) histogram(Tensor input, HistogramBinSelector bins, (double min, double max)? range = null, bool density = false)
292292
=> Utils.Histogram.histogram(input, bins, range, density);
293293

294294
// https://pytorch.org/docs/stable/generated/torch.histogram.html
@@ -460,4 +460,4 @@ public static (Tensor values, Tensor indices) topk(Tensor tensor, int k, int dim
460460
public static Tensor msort(Tensor tensor)
461461
=> tensor.msort();
462462
}
463-
}
463+
}

0 commit comments

Comments
 (0)