We focus on the single thread performance of running ops.
| 24 | |
| 25 | // We focus on the single thread performance of running ops. |
| 26 | static SessionOptions InitOptions() { |
| 27 | SessionOptions opts; |
| 28 | opts.config.set_intra_op_parallelism_threads(1); |
| 29 | opts.config.set_inter_op_parallelism_threads(1); |
| 30 | return opts; |
| 31 | } |
| 32 | |
| 33 | static SessionOptions* GetOptions() { |
| 34 | static SessionOptions opts = InitOptions(); |
no test coverage detected