Used to control the output of the statistics summarizer;
| 18 | namespace tensorflow { |
| 19 | // Used to control the output of the statistics summarizer; |
| 20 | class StatSummarizerOptions { |
| 21 | public: |
| 22 | StatSummarizerOptions() |
| 23 | : show_run_order(true), |
| 24 | run_order_limit(0), |
| 25 | show_time(true), |
| 26 | time_limit(10), |
| 27 | show_memory(true), |
| 28 | memory_limit(10), |
| 29 | show_type(true), |
| 30 | show_summary(true) {} |
| 31 | |
| 32 | bool show_run_order; |
| 33 | int run_order_limit; |
| 34 | bool show_time; |
| 35 | int time_limit; |
| 36 | bool show_memory; |
| 37 | int memory_limit; |
| 38 | bool show_type; |
| 39 | bool show_summary; |
| 40 | }; |
| 41 | } // namespace tensorflow |
| 42 | |
| 43 | #endif // TENSORFLOW_CORE_UTIL_STAT_SUMMARIZER_OPTIONS_H_ |
no outgoing calls