Skip to content
Ontology docs

Documentation generated from LinkML

Class: Masking_Layer

Masks a sequence by using a mask value to skip timesteps. For each timestep in the input tensor (dimension #1 in the tensor), if all values in the input tensor at that timestep are equal to mask_value, then the timestep will be masked (skipped) in all downstream layers (as long as they support masking). If any downstream layer does not support masking yet receives such an input mask, an exception will be raised.

  • Title: Masking Layer
  • Canonical name: MaskingLayer
  • Names in code: MaskingLayer (Scala, TypeScript, Python, Java, GraphQL)
  • URI: aio:Masking_Layer (https://w3id.org/aio/Masking_Layer)
  • Parent: Layer

Inheritance