Skip to content

Throw appropriate error for pad_sequence input of length > maxlen #183

Open
JuliaText/TextModels.jl
#17
@Ayushk4

Description

@Ayushk4

function pad_sequences(l, maxlen=500)

This function returns nothing in case the input length > maxlen.
It will be better to have a proper error handling and err message display for this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions