sequence

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package sequence provides utilities for preprocessing sequence data. Go port of keras.preprocessing.sequence

Index

Constants

This section is empty.

Variables

View Source
var PadSequences = PadIntSequences

PadSequences pads sequences to the same length.

Functions

func PadFloat64Sequences

func PadFloat64Sequences(sequences [][]float64, maxlen int, padding string, truncating string, value float64) (result [][]float64)

PadFloat64Sequences pads sequences to the same length.

func PadIntSequences

func PadIntSequences(sequences [][]int, maxlen int, padding string, truncating string, value int) (result [][]int)

PadIntSequences pads sequences to the same length.

Types

This section is empty.

Jump to

Keyboard shortcuts

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