mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-23 22:13:38 +00:00
parent
5d55b0730e
commit
b5327595f3
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ using std::vector;
|
|||
namespace onnxruntime {
|
||||
namespace test {
|
||||
|
||||
static const int kMinOpsetVersion = 17;
|
||||
static constexpr int kMinOpsetVersion = 17;
|
||||
|
||||
static void TestNaiveDFTFloat(bool onesided) {
|
||||
OpTester test("DFT", kMinOpsetVersion);
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ Status AdamWOptimizerBase::PrepareForCompute(OpKernelContext* ctx, AdamWOptimize
|
|||
prepare.grouped_tensor_sizes.resize(prepare.num_of_weights);
|
||||
prepare.grouped_tensor_pointers.resize(prepare.num_of_weights);
|
||||
|
||||
const double cost = 1.0;
|
||||
static constexpr double cost = 1.0;
|
||||
auto* tp = ctx->GetOperatorThreadPool();
|
||||
|
||||
concurrency::ThreadPool::TryParallelFor(
|
||||
|
|
|
|||
Loading…
Reference in a new issue