File tree Expand file tree Collapse file tree
c_api/fastdeploy_capi/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ DECLARE_AND_IMPLEMENT_FD_TYPE_ONEDIMARRAY(OneDimArrayFloat)
3838DECLARE_AND_IMPLEMENT_FD_TYPE_ONEDIMARRAY(Cstr)
3939// FD_C_OneDimArrayCstr
4040DECLARE_AND_IMPLEMENT_FD_TYPE_TWODIMARRAY(OneDimArrayCstr, Cstr)
41+ // FD_C_TwoDimArrayCstr
42+ DECLARE_AND_IMPLEMENT_FD_TYPE_THREEDIMARRAY(TwoDimArrayCstr,OneDimArrayCstr)
4143// FD_C_TwoDimArraySize
4244DECLARE_AND_IMPLEMENT_FD_TYPE_TWODIMARRAY(TwoDimArraySize, OneDimArraySize)
4345// FD_C_TwoDimArrayInt8
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ namespace function {
2828 @param seed The seed of random generator.
2929 @param dtype The data type of the output Tensor.
3030*/
31- void GaussianRandom (const std::vector<int64_t >& shape, FDTensor* out,
31+ FASTDEPLOY_DECL void GaussianRandom (const std::vector<int64_t >& shape, FDTensor* out,
3232 FDDataType dtype = FDDataType::FP32, float mean = 0 .0f ,
3333 float std = 1 .0f , int seed = 0 );
3434
You can’t perform that action at this time.
0 commit comments