Assignments.FragmentA code fragment generated from a tensor, identified by its owner node and side (gh-ocannl-1724): (t.value, Fwd) is t's forward code; (t.grad, Bprop) is t's backprop code, the code propagating from t.grad into its children's gradients.
include Ppx_compare_lib.Comparable.S with type t := tval compare : t Base__Ppx_compare_lib.compareval sexp_of_t : t -> Sexplib0.Sexp.tval comparator : (t, comparator_witness) Base.Comparator.tval describe : t -> Base.stringE.g. "the backprop code propagating from grad_t", for refusal messages.