Skip to content

Commit ec43b27

Browse files
committed
Update example
1 parent 1f7ce5c commit ec43b27

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/tensors/tensor.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,9 @@ for randf in (:rand, :randn, :randexp, :randisometry)
322322
323323
Generate a tensor `t` with entries generated by `$randf`.
324324
The type `TorA` can be used to control the element type and
325-
data type generated. For example, if `TorA` is a `SparseVector{ComplexF32}`,
326-
then the final output `TensorMap` will have that as its storage type.
325+
data type generated. For example, if `TorA` is a `CuVector{ComplexF32}`
326+
or `ROCVector{Float64}`, then the final output `TensorMap` will have
327+
that as its storage type.
327328
328329
See also [`Random.$(randf)!`](@ref).
329330
"""

0 commit comments

Comments
 (0)