Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 839 Bytes

functions.rst

File metadata and controls

27 lines (19 loc) · 839 Bytes

Functions

This page describes the basic/composite functions implemented in primitiv. They return a template type Var, and take 0 or more number of references of Var as their arguments. Var becomes either Node or Tensor according to the usage:

If the function has no argument with type Var, you must specify the template argument appropriately:

primitiv::functions