visit: Visit a Node over an Edge

Description Usage Arguments Value

Description

Visit a Node over an Edge

Usage

1
visit(x, f = multiply_by)

Arguments

x

an Edge or a list of Edges.

f

a binary function used to combine the visited node's activation and the edge's weight. Default is multiplication, so f(activation, weight) = activation * weight.

Value

a vector of f(activation, weight) values


tjmahr/retrace documentation built on May 31, 2019, 3:41 p.m.