We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a84a4e commit 73b8330Copy full SHA for 73b8330
llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
@@ -261,8 +261,8 @@ static const std::vector<TensorSpec> TrainingOnlyFeatures{
261
static const std::vector<TensorSpec> getInputFeatures() {
262
std::vector<TensorSpec> InputSpecs;
263
for (size_t I = 0; I < NumberOfFeatures; ++I)
264
- InputSpecs.push_back(TensorSpec::createSpec<int64_t>(
265
- TFFeedPrefix + FeatureMap[I].name(), FeatureMap[I].shape()));
+ InputSpecs.push_back(
+ TensorSpec(TFFeedPrefix + FeatureMap[I].name(), FeatureMap[I]));
266
append_range(InputSpecs, TrainingOnlyFeatures);
267
return InputSpecs;
268
}
0 commit comments