Versions in this module Expand all Collapse all v0 v0.3.1 May 11, 2020 Changes in this version + func NewSampleTransformer(reader core.SampleReader, ts ...SampleTransformation) core.SampleReader + func NewTFExampleTransformer(reader core.TFExampleReader, ts ...TFExampleTransformation) core.TFExampleReader + func SamplesToTFExample(reader core.SampleReader, types ...core.TypesMap) core.TFExampleReader + type ExampleSelectionsTransformation struct + func ExampleSelections(s ...selection.Example) *ExampleSelectionsTransformation + func (s *ExampleSelectionsTransformation) TransformTFExample(ex *core.TFExample) *core.TFExample + type ID struct + func (t ID) TransformSample(s *core.Sample) *core.Sample + func (t ID) TransformTFExample(ex *core.TFExample) *core.TFExample + type Rename struct + func RenameTransformation(dest string, src []string) *Rename + func (c *Rename) TransformSample(sample *core.Sample) *core.Sample + func (c *Rename) TransformTFExample(ex *core.TFExample) *core.TFExample + type SampleFuncTransformation struct + func SampleF(f func(*core.Sample) *core.Sample) *SampleFuncTransformation + func (t *SampleFuncTransformation) TransformSample(sample *core.Sample) *core.Sample + type SampleSelectionsTransformation struct + func SampleSelections(s ...selection.Sample) *SampleSelectionsTransformation + func (s *SampleSelectionsTransformation) TransformSample(sample *core.Sample) *core.Sample + type SampleToTFExamplesTypesTransformer struct + func (t *SampleToTFExamplesTypesTransformer) Read() (*core.TFExample, error) + type SampleTransformation interface + TransformSample func(s *core.Sample) *core.Sample + type SamplesToTFExamplesTransformer struct + func (t *SamplesToTFExamplesTransformer) Read() (*core.TFExample, error) + type SamplesTransformer struct + func (t *SamplesTransformer) Read() (*core.Sample, error) + type TFExampleFuncTransformation struct + func ExampleF(f func(*core.TFExample) *core.TFExample) *TFExampleFuncTransformation + func (t *TFExampleFuncTransformation) TransformTFExample(ex *core.TFExample) *core.TFExample + type TFExampleTransformation interface + TransformTFExample func(ex *core.TFExample) *core.TFExample + type TFExampleTransformer struct + func (t *TFExampleTransformer) Read() (*core.TFExample, error)