Skip to content

Commit bb3b623

Browse files
authored
Update comments in tensor_ptr_maker.h (#9259)
1 parent af67dec commit bb3b623

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

extension/tensor/tensor_ptr_maker.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)