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(
555555}
556556
557557/* *
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.
560559 *
561560 * @param sizes A vector specifying the size of each dimension.
562561 * @param strides A vector specifying the stride for each dimension.
@@ -597,8 +596,7 @@ inline TensorPtr randn_like(
597596}
598597
599598/* *
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.
602600 *
603601 * @param sizes A vector specifying the size of each dimension.
604602 * @param type The scalar type of the tensor elements.
You can’t perform that action at this time.
0 commit comments