def window_read

stelliferous@0.0.2.0 · tensor_access.bend:143

import stelliferous@0.0.2.0/tensor_access.bend as TensorAccess
import Base

143def window_read(~Element: Data,+pad: Element,valid: Bool,input: Array<Element>,index: U32) -> Array<Element> & Element:
144  match valid:
145    case False{}: (input,pad)
146    case True{}: Array.get(Element,input,index)

Uses (6)

Used by (2)