Struct primitiv::Node [] [src]

pub struct Node { /* fields omitted */ }

Pointer of a node in the computation graph.

Methods

impl Node
[src]

[src]

Creates a new Node object.

[src]

Returns corresponding Graph object.

[src]

Returns whether the node is valid or not.

[src]

Returns the operator ID.

[src]

Returns the value ID of the operator.

[src]

Returns shape of the node.

[src]

Returns device of the node.

[src]

Calculates the value of this node and returns a float.

Remark: This function calls Graph::forward() internally. This function can be used only when the Node has a scalar and non-minibatched shape (i.e., shape() == Shape())

[src]

Calculates the value of this node and returns a list of float.

[src]

Returns argmax indices along an axis of this node.

[src]

Returns argmin indices along an axis of this node.

[src]

Executes the backward operation from this node.

Trait Implementations

impl Debug for Node
[src]

[src]

Formats the value using the given formatter. Read more

impl Wrap<primitivNode_t> for Node
[src]

impl Drop for Node
[src]

[src]

Executes the destructor for this type. Read more

impl Clone for Node
[src]

[src]

Returns a copy of the value. Read more

[src]

Performs copy-assignment from source. Read more

impl AsRef<Node> for Node
[src]

[src]

Performs the conversion.

impl Neg for Node
[src]

The resulting type after applying the - operator.

[src]

Performs the unary - operation.

impl Add<i8> for Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<i8> for &'a Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<Node> for i8
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<&'a Node> for i8
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<u8> for Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<u8> for &'a Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<Node> for u8
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<&'a Node> for u8
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<i16> for Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<i16> for &'a Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<Node> for i16
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<&'a Node> for i16
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<u16> for Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<u16> for &'a Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<Node> for u16
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<&'a Node> for u16
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<i32> for Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<i32> for &'a Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<Node> for i32
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<&'a Node> for i32
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<u32> for Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<u32> for &'a Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<Node> for u32
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<&'a Node> for u32
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<i64> for Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<i64> for &'a Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<Node> for i64
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<&'a Node> for i64
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<u64> for Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<u64> for &'a Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<Node> for u64
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<&'a Node> for u64
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<f32> for Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<f32> for &'a Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<Node> for f32
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<&'a Node> for f32
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<f64> for Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<f64> for &'a Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<Node> for f64
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<&'a Node> for f64
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add for Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<Node> for &'a Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<&'a Node> for Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a, 'b> Add<&'a Node> for &'b Node
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Sub<i8> for Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<i8> for &'a Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<Node> for i8
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<&'a Node> for i8
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<u8> for Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<u8> for &'a Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<Node> for u8
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<&'a Node> for u8
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<i16> for Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<i16> for &'a Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<Node> for i16
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<&'a Node> for i16
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<u16> for Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<u16> for &'a Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<Node> for u16
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<&'a Node> for u16
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<i32> for Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<i32> for &'a Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<Node> for i32
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<&'a Node> for i32
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<u32> for Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<u32> for &'a Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<Node> for u32
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<&'a Node> for u32
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<i64> for Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<i64> for &'a Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<Node> for i64
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<&'a Node> for i64
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<u64> for Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<u64> for &'a Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<Node> for u64
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<&'a Node> for u64
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<f32> for Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<f32> for &'a Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<Node> for f32
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<&'a Node> for f32
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<f64> for Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<f64> for &'a Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<Node> for f64
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<&'a Node> for f64
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub for Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<Node> for &'a Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a> Sub<&'a Node> for Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a, 'b> Sub<&'a Node> for &'b Node
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Mul<i8> for Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<i8> for &'a Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<Node> for i8
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<&'a Node> for i8
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<u8> for Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<u8> for &'a Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<Node> for u8
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<&'a Node> for u8
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<i16> for Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<i16> for &'a Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<Node> for i16
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<&'a Node> for i16
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<u16> for Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<u16> for &'a Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<Node> for u16
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<&'a Node> for u16
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<i32> for Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<i32> for &'a Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<Node> for i32
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<&'a Node> for i32
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<u32> for Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<u32> for &'a Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<Node> for u32
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<&'a Node> for u32
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<i64> for Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<i64> for &'a Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<Node> for i64
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<&'a Node> for i64
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<u64> for Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<u64> for &'a Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<Node> for u64
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<&'a Node> for u64
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<f32> for Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<f32> for &'a Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<Node> for f32
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<&'a Node> for f32
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<f64> for Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<f64> for &'a Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<Node> for f64
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<&'a Node> for f64
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul for Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<Node> for &'a Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<&'a Node> for Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a, 'b> Mul<&'a Node> for &'b Node
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Div<i8> for Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<i8> for &'a Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<Node> for i8
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<&'a Node> for i8
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<u8> for Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<u8> for &'a Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<Node> for u8
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<&'a Node> for u8
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<i16> for Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<i16> for &'a Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<Node> for i16
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<&'a Node> for i16
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<u16> for Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<u16> for &'a Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<Node> for u16
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<&'a Node> for u16
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<i32> for Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<i32> for &'a Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<Node> for i32
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<&'a Node> for i32
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<u32> for Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<u32> for &'a Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<Node> for u32
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<&'a Node> for u32
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<i64> for Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<i64> for &'a Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<Node> for i64
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<&'a Node> for i64
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<u64> for Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<u64> for &'a Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<Node> for u64
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<&'a Node> for u64
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<f32> for Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<f32> for &'a Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<Node> for f32
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<&'a Node> for f32
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<f64> for Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<f64> for &'a Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<Node> for f64
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<&'a Node> for f64
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div for Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<Node> for &'a Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a> Div<&'a Node> for Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a, 'b> Div<&'a Node> for &'b Node
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

Auto Trait Implementations

impl !Send for Node

impl !Sync for Node