~/bend-docscommunity

kernel_rows.bend checks

raw source on the hub · import stelliferous@0.0.2.0/kernel_rows.bend as Kernel_rows

2 imports
import Base
import ./kernel_tile.bend as Tile

Types

type Rows source · line 6 · raw

@-Element:Data -> Data

Four independent output rows share one input tile: half of an eight-row weight block. This is a fixed product, not an indexed type or a list.

Definitions

def half source · line 29 · raw

@upper:Bool -> @tile:0x9be3b13bf249759bc81e1958bcd1a4c0/kernel_tile.Tile8 -> Rows<F32>

The lower or upper four rows of an eight-row weight tile.

Templates

template filled source · line 9 · raw

@-Element:Data -> @+value:Element -> Rows<Element>

template first source · line 12 · raw

@-Element:Data -> @values:Rows<Element> -> Element

template second source · line 16 · raw

@-Element:Data -> @values:Rows<Element> -> Element

template third source · line 20 · raw

@-Element:Data -> @values:Rows<Element> -> Element

template fourth source · line 24 · raw

@-Element:Data -> @values:Rows<Element> -> Element

template map source · line 38 · raw

@-Element:Data -> @-Input:Data -> @-Weight:Data -> @-update:(@_:Element -> @_:Input -> @_:Weight -> Element) -> @accumulators:Rows<Element> -> @+input:Input -> @weights:Rows<Weight> -> Rows<Element>