Uses of Enum Class
opennlp.dl.vectors.Pooling
Packages that use Pooling
-
Uses of Pooling in opennlp.dl.vectors
Subclasses with type arguments of type Pooling in opennlp.dl.vectorsModifier and TypeClassDescriptionenumHowSentenceVectorsDLturns the token vectors of a model into one sentence vector.Methods in opennlp.dl.vectors that return PoolingModifier and TypeMethodDescriptionSentenceVectorsOptions.pooling()Returns the value of thepoolingrecord component.static PoolingReturns the enum constant of this class with the specified name.static Pooling[]Pooling.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in opennlp.dl.vectors with parameters of type PoolingModifierConstructorDescriptionSentenceVectorsDL(File model, File vocabulary, boolean lowerCase, Pooling pooling, boolean normalize, int maxLength) Instantiates asentence vector generatorusing ONNX models.SentenceVectorsOptions(Pooling pooling, boolean normalize, int maxLength, PaddingStrategy padding) Creates vector settings after validating the pooling mode, maximum length and padding strategy.