Fork me on GitHub

src/arraymancer/tensor/filling_data

Search:
Group by:
  Source Edit

Procs

proc copy_from[T](dst: var Tensor[T]; src: Tensor[T])
Copy the data from a source Tensor. Both tensors must have the same number of elements but do not need to have the same shape. Data is copied without re-allocation. Warning âš  The destination tensor data will be overwritten. It however conserves its shape and strides.   Source Edit
Arraymancer Technical reference Tutorial Spellbook (How-To's) Under the hood