Bits is a tensor of bits backed by a bitslice.Slice for efficient storage of binary data
| 19 | // Bits is a tensor of bits backed by a bitslice.Slice for efficient storage |
| 20 | // of binary data |
| 21 | type 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. |
nothing calls this directly
no outgoing calls
no test coverage detected