std1.0.0-beta-7 SafeC docs

std :: ml::tensor

Function std::tensor_add

#include <std/ml/tensor.h> source · definition

generic<E> &DenseTensor<E> tensor_add(const &DenseTensor<E> a, const &DenseTensor<E> b)

requires grad) ──────────────────────────────────────────────────────────── Generic over the element type (defined at the end of this header); a HalfTensor / BF16Tensor op computes in float32 and rounds its result.