Adds a node to the parent graph that permutes the array associated with the node along given axes. Applies [Graph::permute_axes] to the parent graph, `this` node and `axes`. # 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, 3], IN
(&self, axes: ArrayShape)
| 953 | /// let n2 = n1.permute_axes(axes).unwrap(); |
| 954 | /// ``` |
| 955 | pub fn permute_axes(&self, axes: ArrayShape) -> Result<Node> { |
| 956 | self.get_graph().permute_axes(self.clone(), axes) |
| 957 | } |
| 958 | |
| 959 | /// Adds a node to the parent graph that inverts a given permutation. |
| 960 | /// |