mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 01:22:59 +08:00
[BUG FIX] add export declaration of GaussianRandom function (#2379)
* Update fd_type.cc [bug fix]add define for destroy TwoDimArrayCstr for c_api * [BUG FIX] add export declaration of GaussianRandom function
This commit is contained in:
@@ -28,7 +28,7 @@ namespace function {
|
||||
@param seed The seed of random generator.
|
||||
@param dtype The data type of the output Tensor.
|
||||
*/
|
||||
void GaussianRandom(const std::vector<int64_t>& shape, FDTensor* out,
|
||||
FASTDEPLOY_DECL void GaussianRandom(const std::vector<int64_t>& shape, FDTensor* out,
|
||||
FDDataType dtype = FDDataType::FP32, float mean = 0.0f,
|
||||
float std = 1.0f, int seed = 0);
|
||||
|
||||
|
Reference in New Issue
Block a user