grain.functions

A type defined in grain.functions is equivalent to chainer.Function or torch.autograd.Function. Function is a set of core autograd algorithms for grain.chain that compose some functions in computation graph.

Modules

binary
module grain.functions.binary

A module for binary autograd functions.

common
module grain.functions.common

Common components for autograd function object

loss
module grain.functions.loss

A module for loss functions that always output scalar values to be minimized. Loss function is the end of forwardprop and also is the start point of backprop.

random
module grain.functions.random
Undocumented in source.
reduction
module grain.functions.reduction

A module for reductions functions

topology
module grain.functions.topology
Undocumented in source.
unary
module grain.functions.unary

A module for unary functions

Public Imports

grain.functions.common
public import grain.functions.common;
grain.functions.unary
public import grain.functions.unary;
grain.functions.binary
public import grain.functions.binary;
grain.functions.loss
public import grain.functions.loss;
grain.functions.reduction
public import grain.functions.reduction;
grain.functions.topology
public import grain.functions.topology;

Meta