mirror of
https://github.com/neodyland/sbv2-api.git
synced 2026-01-03 13:02:57 +00:00
fix: 重複部分を削除
This commit is contained in:
@@ -7,7 +7,6 @@ use std::io::Cursor;
|
||||
pub fn load_model(model_file: &str) -> Result<Session> {
|
||||
let session = Session::builder()?
|
||||
.with_optimization_level(GraphOptimizationLevel::Level3)?
|
||||
.with_intra_threads(1)?
|
||||
.with_intra_threads(num_cpus::get_physical())?
|
||||
.with_parallel_execution(true)?
|
||||
.with_inter_threads(num_cpus::get_physical())?
|
||||
|
||||
Reference in New Issue
Block a user