mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-03 03:58:54 +00:00
fix (#3512)
This commit is contained in:
parent
efd9b92482
commit
66a79d2c9f
3 changed files with 4 additions and 4 deletions
|
|
@ -450,7 +450,7 @@
|
|||
{
|
||||
"component": {
|
||||
"git": {
|
||||
"commitHash": "83d30a3209a4ff47baa8db9ec4da397f4946854f",
|
||||
"commitHash": "7922489c1e7e7baf20c4b1557743d6c7ea72647d",
|
||||
"repositoryUrl": "https://github.com/microsoft/FeaturizersLibrary.git"
|
||||
},
|
||||
"type": "git"
|
||||
|
|
|
|||
2
cmake/external/FeaturizersLibrary
vendored
2
cmake/external/FeaturizersLibrary
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit 83d30a3209a4ff47baa8db9ec4da397f4946854f
|
||||
Subproject commit 7922489c1e7e7baf20c4b1557743d6c7ea72647d
|
||||
|
|
@ -17,7 +17,7 @@ template <typename T>
|
|||
struct ForecastingPivotTransformerImpl {
|
||||
void operator()(OpKernelContext* ctx) const {
|
||||
using MatrixT = NS::RowMajMatrix<typename NS::Traits<T>::nullable_type>;
|
||||
using InputType = std::vector<Eigen::Map<MatrixT>>;
|
||||
using InputType = std::vector<Eigen::Map<const MatrixT>>;
|
||||
using OutputType = std::vector<T>;
|
||||
using TransformerT = Microsoft::Featurizer::Featurizers::ForecastingPivotTransformer<std::tuple<typename InputType::iterator, typename InputType::iterator>>;
|
||||
|
||||
|
|
@ -62,7 +62,7 @@ struct ForecastingPivotTransformerImpl {
|
|||
const T* input_data(std::get<0>(dataPtrMap.at(index)));
|
||||
const int64_t input_dim_1(std::get<1>(dataPtrMap.at(index)));
|
||||
const int64_t input_dim_2(std::get<2>(dataPtrMap.at(index)));
|
||||
input.push_back(typename InputType::value_type(const_cast<T*>(input_data), input_dim_1, input_dim_2));
|
||||
input.push_back(typename InputType::value_type(input_data, input_dim_1, input_dim_2));
|
||||
//Increment data pointer
|
||||
input_data += input_dim_1 * input_dim_2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue