pyprobound.table.CountBatch
- class CountBatch(seqs, target)
Bases:
BatchA protocol for a set of rows from a count table.
- seqs
A sequence tensor of shape \((\text{minibatch},\text{length})\) or \((\text{minibatch},\text{in_channels},\text{length})\).
- target
A count tensor of shape \((\text{minibatch},\text{rounds})\).
- __init__(seqs, target)
Methods
batchlen()Batch length.
Attributes
Non-Inherited Members
-
seqs:
Tensor
-
target:
Tensor
- batchlen()
Batch length.
- Return type:
int