def execute_layout

stelliferous@0.0.2.0 · tensor_convolution.bend:180

import stelliferous@0.0.2.0/tensor_convolution.bend as TensorConvolution
import Base
import stelliferous@0.0.2.0/tensor.bend as Tensors
import stelliferous@0.0.2.0/storage_buffer.bend as Storage
import stelliferous@0.0.2.0/kernel_tile.bend as Tile
import stelliferous@0.0.2.0/math_activation.bend as Activations

180def execute_layout(~custom: F32 -> F32,+activation: Activations.Activation,band_windows: Bool,+geometry: Geometry,input: Storage.Buffer<F32>,
181  weights: Storage.Buffer<Tile.Tile8>,bias: Storage.Buffer<F32>,workers: U32) -> Tensors.Tensor<F32>:
182  match band_windows:
183    case False{}: execute_dense(~custom,activation,geometry,input,weights,bias,workers)
184    case True{}: execute_many(~custom,activation,geometry,input,weights,bias,workers)

Uses (10)

Used by (1)