Applies [Graph::set_output_node] to the parent graph and `this` node. # Returns This node # Example ``` # use ciphercore_base::graphs::create_context; # use ciphercore_base::data_types::{array_type, vector_type, INT32}; let c = create_context().unwrap(); let g = c.create_graph().unwrap(); let t = array_type(vec![3, 2], INT32); let vec_t = vector_type(4, t); let n1 = g.input(vec_t).unwrap(); le
(&self)
| 1297 | /// g.finalize().unwrap(); |
| 1298 | /// ``` |
| 1299 | pub fn set_as_output(&self) -> Result<Node> { |
| 1300 | self.get_graph().set_output_node(self.clone())?; |
| 1301 | Ok(self.clone()) |
| 1302 | } |
| 1303 | } |
| 1304 | |
| 1305 | /// Methods which aren't supposed to be imported in Python. |