Adds a node to the parent graph that computes the cumulative sum of elements along a given axis. Applies [Graph::cum_sum] to the parent graph, `this` node and `axis`. # Example ``` # use ciphercore_base::graphs::create_context; # use ciphercore_base::data_types::{INT32, array_type}; let c = create_context().unwrap(); let g = c.create_graph().unwrap(); let t = array_type(vec![3, 2], INT32); let
(&self, axis: u64)
| 933 | /// let n2 = n1.cum_sum(1).unwrap(); |
| 934 | /// ``` |
| 935 | pub fn cum_sum(&self, axis: u64) -> Result<Node> { |
| 936 | self.get_graph().cum_sum(self.clone(), axis) |
| 937 | } |
| 938 | |
| 939 | /// Adds a node to the parent graph that permutes the array associated with the node along given axes. |
| 940 | /// |