mtl5.DenseVector_f64#
- class mtl5.DenseVector_f64#
- copy()#
Return an owning copy of this vector
Signatures:
copy(self) -> mtl5._core.DenseVector_f64
- property device#
(self) -> str
- property dtype#
(self) -> str
- property is_view#
(self) -> bool
- to()#
Transfer vector to device (currently: ‘cpu’ only)
Signatures:
to(self, device: str) -> mtl5._core.DenseVector_f64
- to_numpy()#
Return a zero-copy NumPy array view of this vector
Signatures:
to_numpy(self) -> numpy.ndarray[dtype=float64, shape=(*)]