def direct_cell

bendtorch-core@0.1.0.0 · src/tensor/elementwise.bend:378

import bendtorch-core@0.1.0.0/src/tensor/elementwise.bend as Elementwise
import Base

378# An inside cell whose input slots are already known: the cell `cell`
379# computes there.
380def direct_cell(+operation: Operation, +left_index: Nat, +right_index: Nat, la: Array<F32>, ra: Array<F32>) ->
381  F32 & (Array<F32> & Array<F32>):
382  cell_left(operation, ra, U32.from_nat(right_index), Array.get(F32, la, U32.from_nat(left_index)))

Uses (8)

Used by (2)