cinn
Build from source code
Install CINN using docker
Tutorials
C++ DSL API tutorial: Matrix Multiplication
Load and Execute Paddle Model in C++
CinnBuilder Primitive Semantics
C++ Symbols
cinn
»
C++ Symbols
»
Template Function cinn::frontend::InitRandomVector
View page source
Template Function cinn::frontend::InitRandomVector
Defined in
File test_helper.h
Function Documentation
template<typename
T
>
void
cinn::frontend
::
InitRandomVector
(
std::vector<
T
> *
vec
, size_t
numel
,
T
low
= 0,
T
high
= 1,
T
precision
= 1e-5
)