MCPcopy Create free account
hub / github.com/ciphermodelabs/ciphercore / get_output_node

Method get_output_node

ciphercore-base/src/graphs.rs:3204–3210  ·  view source on GitHub ↗

Returns the output node of the graph. # Returns Output node of the graph

(&self)

Source from the content-addressed store, hash-verified

3202 ///
3203 /// Output node of the graph
3204 pub fn get_output_node(&self) -> Result<Node> {
3205 let current_output_node = self.body.borrow().output_node.clone();
3206 match current_output_node {
3207 Some(output_node) => Ok(output_node.upgrade()),
3208 None => Err(runtime_error!("Output node is not set")),
3209 }
3210 }
3211
3212 /// Returns the ID of the graph.
3213 ///

Callers 15

process_nodeMethod · 0.45
evaluate_graphMethod · 0.45
run_instantiation_passFunction · 0.45
make_serializableMethod · 0.45
test_helperFunction · 0.45
evaluate_join_helperFunction · 0.45
compile_to_mpc_graphFunction · 0.45
compile_to_mpc_contextFunction · 0.45
uniquify_prf_idFunction · 0.45
test_inputFunction · 0.45
helper_one_inputFunction · 0.45

Calls 2

cloneMethod · 0.80
upgradeMethod · 0.80

Tested by 12

test_helperFunction · 0.36
test_inputFunction · 0.36
test_apply_permutationFunction · 0.36
test_sortFunction · 0.36
test_zerosFunction · 0.36
test_onesFunction · 0.36
test_cum_sumFunction · 0.36
print_statsFunction · 0.36