Documentation
¶
Index ¶
- type EpisodeBuffer
- func (b *EpisodeBuffer) AddFrame(frame map[string]any) error
- func (b *EpisodeBuffer) Columns(globalIndex int64, taskIndices []int64) map[string]any
- func (b *EpisodeBuffer) ColumnsWithFrameStart(globalIndex, frameStart int64, taskIndices []int64) map[string]any
- func (b *EpisodeBuffer) Reset()
- func (b *EpisodeBuffer) Size() int
- func (b *EpisodeBuffer) Tasks() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EpisodeBuffer ¶
type EpisodeBuffer struct {
EpisodeIndex int
Features map[string]meta.FeatureSpec
FPS int
// contains filtered or unexported fields
}
func New ¶
func New(episodeIndex int, fps int, features map[string]meta.FeatureSpec) *EpisodeBuffer
func (*EpisodeBuffer) Columns ¶
func (b *EpisodeBuffer) Columns(globalIndex int64, taskIndices []int64) map[string]any
func (*EpisodeBuffer) ColumnsWithFrameStart ¶ added in v1.1.0
func (b *EpisodeBuffer) ColumnsWithFrameStart(globalIndex, frameStart int64, taskIndices []int64) map[string]any
func (*EpisodeBuffer) Reset ¶ added in v1.1.0
func (b *EpisodeBuffer) Reset()
func (*EpisodeBuffer) Size ¶
func (b *EpisodeBuffer) Size() int
func (*EpisodeBuffer) Tasks ¶
func (b *EpisodeBuffer) Tasks() []string
Click to show internal directories.
Click to hide internal directories.