def exp

stelliferous@0.0.2.0 · tensor_f32.bend:376

import stelliferous@0.0.2.0/tensor_f32.bend as TensorF32
import Base
import stelliferous@0.0.2.0/math_fp32.bend as Arithmetic
import stelliferous@0.0.2.0/tensor.bend as Tensors
import stelliferous@0.0.2.0/tensor_operations.bend as Operations

376# Elementwise functions share the eight-value traversal used by activations.
377def exp(tensor: Tensor()) -> Tensor():
378  Tensors.apply(~F32,~Operations.mapped_lanes(~Arithmetic.exp),"exp",4.5,tensor)

Uses (5)

Used by (1)