def add

stelliferous@0.0.2.0 · tensor_f32.bend:153

import stelliferous@0.0.2.0/tensor_f32.bend as TensorF32
import Base
import stelliferous@0.0.2.0/tensor.bend as Tensors

153# Binary elementwise operations reuse the left tensor's storage. The number
154# after the name is the operation's scalar work for the band schedule.
155def add(left: Tensor(),right: Tensor()) -> Tensor():
156  Tensors.combine(~F32,~F32.add,"add",1.0,left,right)

Uses (4)

Used by (0)

No other definition uses this definition.