From f862acb7e2dbba7535608ec4fd00e6e363b24ce6 Mon Sep 17 00:00:00 2001 From: raphaelDkhn Date: Tue, 24 Oct 2023 10:45:54 +0300 Subject: [PATCH] add missing element in doc --- docs/SUMMARY.md | 1 + docs/framework/compatibility.md | 1 + docs/framework/operators/tensor/README.md | 1 + src/operators/tensor/core.cairo | 1 + 4 files changed, 4 insertions(+) diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index 07de3f249..50dac5b30 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -59,6 +59,7 @@ * [tensor.less](framework/operators/tensor/tensor.less.md) * [tensor.less\_equal](framework/operators/tensor/tensor.less\_equal.md) * [tensor.abs](framework/operators/tensor/tensor.abs.md) + * [tensor.neg](framework/operators/tensor/tensor.neg.md) * [tensor.ceil](framework/operators/tensor/tensor.ceil.md) * [tensor.cumsum](framework/operators/tensor/tensor.cumsum.md) * [tensor.sin](framework/operators/tensor/tensor.sin.md) diff --git a/docs/framework/compatibility.md b/docs/framework/compatibility.md index a7b415cc6..41e40258d 100644 --- a/docs/framework/compatibility.md +++ b/docs/framework/compatibility.md @@ -18,6 +18,7 @@ You can see below the list of current supported ONNX Operators: | [Less](operators/tensor/tensor.less.md) | :white\_check\_mark: | | [LessOrEqual](operators/tensor/tensor.less\_equal.md) | :white\_check\_mark: | | [Abs](operators/tensor/tensor.abs.md) | :white\_check\_mark: | +| [Neg](operators/tensor/tensor.neg.md) | :white\_check\_mark: | | [Ceil](operators/tensor/tensor.ceil.md) | :white\_check\_mark: | | [Exp](operators/tensor/tensor.exp.md) | :white\_check\_mark: | | [Ln](operators/tensor/tensor.log.md) | :white\_check\_mark: | diff --git a/docs/framework/operators/tensor/README.md b/docs/framework/operators/tensor/README.md index b33f330c7..2e5d727d6 100644 --- a/docs/framework/operators/tensor/README.md +++ b/docs/framework/operators/tensor/README.md @@ -60,6 +60,7 @@ use orion::operators::tensor::TensorTrait; | [`tensor.exp`](tensor.exp.md) | Computes the exponential of all elements of the input tensor. | | [`tensor.log`](tensor.log.md) | Computes the natural log of all elements of the input tensor. | | [`tensor.abs`](tensor.abs.md) | Computes the absolute value of all elements in the input tensor. | +| [`tensor.neg`](tensor.neg.md) | Computes the negation of all elements in the input tensor. | | [`tensor.ceil`](tensor.ceil.md) | Rounds up the value of each element in the input tensor. | | [`tensor.sqrt`](tensor.sqrt.md) | Computes the square root of all elements of the input tensor. | | [`tensor.sin`](tensor.sin.md) | Computes the sine of all elements of the input tensor. | diff --git a/src/operators/tensor/core.cairo b/src/operators/tensor/core.cairo index 4b9c9ed52..bfddbc8fc 100644 --- a/src/operators/tensor/core.cairo +++ b/src/operators/tensor/core.cairo @@ -56,6 +56,7 @@ impl TensorSerde, impl TDrop: Drop> of Serde