aboutsummaryrefslogtreecommitdiff
path: root/chapters
diff options
context:
space:
mode:
Diffstat (limited to 'chapters')
-rw-r--r--chapters/activation_funcs.adoc5
-rw-r--r--chapters/custom.adoc4
-rw-r--r--chapters/data_nodes.adoc9
3 files changed, 16 insertions, 2 deletions
diff --git a/chapters/activation_funcs.adoc b/chapters/activation_funcs.adoc
index 1be3168..a64d7d0 100644
--- a/chapters/activation_funcs.adoc
+++ b/chapters/activation_funcs.adoc
@@ -43,6 +43,11 @@ include::{pseudocode}/operators/tables/ERF.tosac[lines=10..-1]
include::{generated}/operators/ERF.adoc[]
+[source,c++]
+----
+include::{pseudocode}/operators/ERF.tosac[lines=10..-1]
+----
+
==== SIGMOID
Applies the sigmoid logistic function to each element of the input tensor.
diff --git a/chapters/custom.adoc b/chapters/custom.adoc
index 76f3eb4..6d7eb49 100644
--- a/chapters/custom.adoc
+++ b/chapters/custom.adoc
@@ -22,5 +22,5 @@ include::{generated}/operators/CUSTOM.adoc[]
[source,c++]
----
-// Implementation defined behavior
----- \ No newline at end of file
+include::{pseudocode}/operators/CUSTOM.tosac[lines=10..-1]
+----
diff --git a/chapters/data_nodes.adoc b/chapters/data_nodes.adoc
index 65e6b75..f0fc149 100644
--- a/chapters/data_nodes.adoc
+++ b/chapters/data_nodes.adoc
@@ -15,9 +15,18 @@ A node containing constant data for use as the input to an operation. May hold d
include::{generated}/operators/CONST.adoc[]
+[source,c++]
+----
+include::{pseudocode}/operators/CONST.tosac[lines=10..-1]
+----
+
==== IDENTITY
Returns a tensor with the same shape, type, and contents as the input.
include::{generated}/operators/IDENTITY.adoc[]
+[source,c++]
+----
+include::{pseudocode}/operators/IDENTITY.tosac[lines=10..-1]
+----