pub trait Node {
// Provided methods
fn add<N: Node>(self, other: N) -> Add<Self, N>
where Self: Sized { ... }
fn sub<N: Node>(self, other: N) -> Sub<Self, N>
where Self: Sized { ... }
fn mul<N: Node>(self, other: N) -> Mul<Self, N>
where Self: Sized { ... }
fn div<N: Node>(self, other: N) -> Div<Self, N>
where Self: Sized { ... }
fn dot<N: Node>(self, other: N) -> TensorDot<Self, N>
where Self: Sized { ... }
fn abs(self) -> Abs<Self>
where Self: Sized { ... }
fn neg(self) -> Negate<Self>
where Self: Sized { ... }
fn pow<P>(self, power: P) -> Power<Self, P>
where Self: Sized { ... }
fn ln(self) -> Ln<Self>
where Self: Sized { ... }
fn squared(self) -> Square<Self>
where Self: Sized { ... }
fn sum(self) -> Sum<Self>
where Self: Sized { ... }
fn sigmoid(self) -> Sigmoid<Self>
where Self: Sized { ... }
}Expand description
Base trait for operator nodes.