Skip to content
Ontology docs

Documentation generated from LinkML

Class: Dot_Layer

Layer that computes a dot product between samples in two tensors. E.g. if applied to a list of two tensors a and b of shape (batch_size, n), the output will be a tensor of shape (batch_size, 1) where each entry i will be the dot product between a[i] and b[i].

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

Inheritance