File: doc.go

package info (click to toggle)
golang-github-gorgonia-tensor 0.9.24-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,696 kB
  • sloc: sh: 18; asm: 18; makefile: 8
file content (8 lines) | stat: -rw-r--r-- 469 bytes parent folder | download
1
2
3
4
5
6
7
8
// package native is a utility package for gorgonia.org/tensor.
//
// Amongst other things, it provides iterators that use Go slice semantics, while keeping a reference to the underlying memory.
// This means you can update the slices and the changes will be reflected back into the original tensor.
//
// There is of course a cost of using the native iterators and selectors - allocation costs.
// For best performance, don't use these in a tight loop.
package native