1#ifndef HALIDE_FUZZ_HELPERS_H_
2#define HALIDE_FUZZ_HELPERS_H_
4#include "fuzzer/FuzzedDataProvider.h"
11 return vec[
fdp.ConsumeIntegralInRange<
size_t>(0, vec.size() - 1)];
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Expr cast(Expr a)
Cast an expression to the halide type corresponding to the C++ type T.
T pick_value_in_vector(FuzzedDataProvider &fdp, std::vector< T > &vec)