https://github.com/halide/Halide
Raw File
Tip revision: 33480fb02bdf48f21d5477ba89520f98a7ccb1a5 authored by Patricia Suriana on 19 April 2018, 09:37:30 UTC
Add environment var to set the random dropout probability
Tip revision: 33480fb
Lerp.h
#ifndef HALIDE_LERP_H
#define HALIDE_LERP_H

/** \file
 * Defines methods for converting a lerp intrinsic into Halide IR.
 */

#include "IR.h"

namespace Halide {
namespace Internal {

/** Build Halide IR that computes a lerp. Use by codegen targets that
 * don't have a native lerp. */
Expr lower_lerp(Expr zero_val, Expr one_val, Expr weight);

}
}

#endif
back to top