17 #include "fastdeploy/core/fd_tensor.h" 36 FASTDEPLOY_DECL
void Slice(
const FDTensor& x,
const std::vector<int64_t>& axes,
37 const std::vector<int64_t>& starts,
38 const std::vector<int64_t>& ends, FDTensor* out);
40 FASTDEPLOY_DECL
void Slice(
const FDTensor& x,
const std::vector<int64_t>& axes,
41 const std::vector<int64_t>& index, FDTensor* out);
void Slice(const FDTensor &x, const std::vector< int64_t > &axes, const std::vector< int64_t > &starts, const std::vector< int64_t > &ends, FDTensor *out)
Definition: slice.cc:133
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16