std :: ml::tensor
Type alias std::TensorBackwardFn
typedef fn void(&FloatTensor selfTensor) TensorBackwardFnA node's backward function. Its argument is the node viewed as a float32 tensor: the graph fields (and the float32 gradient) have one layout for every element type, so one function serves a graph that mixes them, and each function reads only those fields of its node (and its parents).