Struct autograd::tensor::TensorCore [] [src]

pub struct TensorCore {
    pub op: Box<Op>,
    pub inputs: Vec<Tensor>,
    pub top_rank: usize,
    pub shape: Option<Tensor>,
    pub persistent_array: Option<PersistentArray>,
    pub resource_lookup_key: Cell<usize>,
    pub is_placeholder: bool,
    pub has_gradient: bool,
    pub input_indices: Vec<usize>,
}

Fields

Operation of this node.

References to immediate predecessors.

Rank number for topological ordering in a graph.

Symbolic shape of this tensor.

Variable or constant array is placed here.

Used to look up a resource of this tensor.

Immutable flag of tensor is placeholder or not.

op can have gradient?

Indices of arrays used in compute

Trait Implementations

Auto Trait Implementations

impl !Send for TensorCore

impl !Sync for TensorCore