Adds a node to the parent graph that extracts a sub-array with a given index from the array associated with the node. Applies [Graph::get] to the parent graph, `this` node and `index`. # 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
(&self, index: ArrayShape)
| 981 | /// let n2 = n1.get(index).unwrap(); |
| 982 | /// ``` |
| 983 | pub fn get(&self, index: ArrayShape) -> Result<Node> { |
| 984 | self.get_graph().get(self.clone(), index) |
| 985 | } |
| 986 | |
| 987 | /// Adds a node that extracts a sub-array corresponding to a given slice from the array associated with the node. |
| 988 | /// |