tensor_ops

Functions

FunctionDescription
tensor_add
tensor_sub
tensor_mul_elem
tensor_scale
tensor_sum
tensor_mean
tensor_max
tensor_relu
tensor_sigmoid
tensor_tanh_t
tensor_softmax
tensor_transpose
matmul

Details

tensor_add

fn tensor_add(a: i64, b: i64, out: i64)

tensor_sub

fn tensor_sub(a: i64, b: i64, out: i64)

tensor_mul_elem

fn tensor_mul_elem(a: i64, b: i64, out: i64)

tensor_scale

fn tensor_scale(a: i64, s: i64, out: i64)

tensor_sum

fn tensor_sum(a: i64) -> i64

tensor_mean

fn tensor_mean(a: i64) -> i64

tensor_max

fn tensor_max(a: i64) -> i64

tensor_relu

fn tensor_relu(a: i64, out: i64)

tensor_sigmoid

fn tensor_sigmoid(a: i64, out: i64)

tensor_tanh_t

fn tensor_tanh_t(a: i64, out: i64)

tensor_softmax

fn tensor_softmax(a: i64, out: i64)

tensor_transpose

fn tensor_transpose(a: i64, out: i64)

matmul

fn matmul(a: i64, b: i64, out: i64)