datasets

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadDataset

func ReadDataset(reader DatasetReader) (event.EventCapture, error)

ReadDataset reads event data from a DatasetReader interface

func WriteDataset

func WriteDataset(writer DatasetWriter, cap event.EventCapture) error

ReadDataset writes event data to a DatasetWriter interface. Should only be used for data augmentation

Types

type DatasetReader

type DatasetReader interface {
	Read() (event.EventCapture, error)
}

DatasetReader specifies an interface to read dataset captures

type DatasetWriter

type DatasetWriter interface {
	Write(event.EventCapture) error
}

DatasetWriter specifies an interface to write dataset captures

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL