forked from OSchip/llvm-project
[NFC][MLGO] The regalloc reward is float, not int64_t
This commit is contained in:
parent
f51b25a4b9
commit
b2d2e93138
|
@ -162,7 +162,7 @@ static const std::vector<TensorSpec> InputFeatures{
|
||||||
#undef _DECL_FEATURES
|
#undef _DECL_FEATURES
|
||||||
static const TensorSpec Output =
|
static const TensorSpec Output =
|
||||||
TensorSpec::createSpec<int64_t>(DecisionName, {1});
|
TensorSpec::createSpec<int64_t>(DecisionName, {1});
|
||||||
static const TensorSpec Reward = TensorSpec::createSpec<int64_t>("reward", {1});
|
static const TensorSpec Reward = TensorSpec::createSpec<float>("reward", {1});
|
||||||
|
|
||||||
#endif //#ifdef LLVM_HAVE_TF_API
|
#endif //#ifdef LLVM_HAVE_TF_API
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
Loading…
Reference in New Issue