Skip to content

Commit

Permalink
refactor: removes no longer necessary explicity nif registration
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy committed Oct 10, 2024
1 parent 22cd126 commit 5296de2
Showing 1 changed file with 0 additions and 100 deletions.
100 changes: 0 additions & 100 deletions native/candlex/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,105 +23,5 @@ fn load(env: Env, _info: Term) -> bool {

rustler::init! {
"Elixir.Candlex.Native",
[
tensors::from_binary,
tensors::to_binary,
tensors::add,
tensors::atan2,
tensors::subtract,
tensors::multiply,
tensors::divide,
tensors::quotient,
tensors::remainder,
tensors::pow,
tensors::max,
tensors::min,
tensors::equal,
tensors::not_equal,
tensors::greater,
tensors::greater_equal,
tensors::less,
tensors::less_equal,
tensors::all,
tensors::all_within_dims,
tensors::any,
tensors::any_within_dims,
tensors::sum,
tensors::dtype,
tensors::t_shape,
tensors::argmax,
tensors::argmin,
tensors::reduce_max,
tensors::reduce_min,
tensors::negate,
tensors::where_cond,
tensors::narrow,
tensors::gather,
tensors::index_select,
tensors::index_add,
tensors::chunk,
tensors::squeeze,
tensors::clamp,
tensors::reverse,
tensors::argsort,
tensors::arange,
tensors::to_type,
tensors::broadcast_to,
tensors::reshape,
tensors::concatenate,
tensors::stack,
tensors::conv1d,
tensors::conv2d,
tensors::permute,
tensors::slice_assign,
tensors::pad_with_same,
tensors::pad_with_zeros,
tensors::dot,
tensors::matmul,
tensors::abs,
tensors::acos,
tensors::acosh,
tensors::asin,
tensors::asinh,
tensors::atan,
tensors::atanh,
tensors::cbrt,
tensors::ceil,
tensors::cos,
tensors::cosh,
tensors::sigmoid,
tensors::sign,
tensors::sin,
tensors::sinh,
tensors::erf,
tensors::erfc,
tensors::erf_inv,
tensors::exp,
tensors::expm1,
tensors::floor,
tensors::is_infinity,
tensors::is_nan,
tensors::round,
tensors::log,
tensors::log1p,
tensors::rsqrt,
tensors::sqrt,
tensors::tan,
tensors::tanh,
tensors::bitwise_not,
tensors::bitwise_and,
tensors::bitwise_or,
tensors::bitwise_xor,
tensors::logical_and,
tensors::logical_or,
tensors::logical_xor,
tensors::left_shift,
tensors::right_shift,
tensors::to_device,
tensors::sum_pool2d,
tensors::max_pool2d,
tensors::contiguous,
devices::is_cuda_available
],
load = load
}

0 comments on commit 5296de2

Please sign in to comment.