MCPcopy Create free account
hub / github.com/cogentcore/core / Bits

Struct Bits

tensor/bits.go:21–25  ·  view source on GitHub ↗

Bits is a tensor of bits backed by a bitslice.Slice for efficient storage of binary data

Source from the content-addressed store, hash-verified

19// Bits is a tensor of bits backed by a bitslice.Slice for efficient storage
20// of binary data
21type Bits struct {
22 Shp Shape
23 Values bitslice.Slice
24 Meta map[string]string
25}
26
27// NewBits returns a new n-dimensional tensor of bit values
28// with the given sizes per dimension (shape), and optional dimension names.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected