Halide 19.0.0
Halide compiler and libraries
|
Helper structure storing the adjoints Func. More...
#include <Derivative.h>
Public Types | |
using | FuncKey = std::pair<std::string, int> |
Public Member Functions | |
Derivative (const std::map< FuncKey, Func > &adjoints_in) | |
Derivative (std::map< FuncKey, Func > &&adjoints_in) | |
Func | operator() (const Func &func, int update_id=-1) const |
Func | operator() (const Buffer<> &buffer) const |
Func | operator() (const Param<> ¶m) const |
Func | operator() (const std::string &name) const |
Helper structure storing the adjoints Func.
Use d(func) or d(buffer) to obtain the derivative Func.
Definition at line 21 of file Derivative.h.
using Halide::Derivative::FuncKey = std::pair<std::string, int> |
Definition at line 24 of file Derivative.h.
Definition at line 26 of file Derivative.h.
Definition at line 29 of file Derivative.h.
Func Halide::Derivative::operator() | ( | const std::string & | name | ) | const |