File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -555,8 +555,7 @@ inline TensorPtr rand(
555
555
}
556
556
557
557
/* *
558
- * Creates a TensorPtr filled with random values between 0 and 1, with specified
559
- * strides.
558
+ * Creates a TensorPtr filled with random values from a normal distribution.
560
559
*
561
560
* @param sizes A vector specifying the size of each dimension.
562
561
* @param strides A vector specifying the stride for each dimension.
@@ -597,8 +596,7 @@ inline TensorPtr randn_like(
597
596
}
598
597
599
598
/* *
600
- * Creates a TensorPtr filled with random values sampled from a normal
601
- * distribution.
599
+ * Creates a TensorPtr filled with random values from a normal distribution.
602
600
*
603
601
* @param sizes A vector specifying the size of each dimension.
604
602
* @param type The scalar type of the tensor elements.
You can’t perform that action at this time.
0 commit comments