1 /* Copyright 2018 The TensorFlow Authors. All Rights Reserved. 2 3 Licensed under the Apache License, Version 2.0 (the "License"); 4 you may not use this file except in compliance with the License. 5 You may obtain a copy of the License at 6 7 http://www.apache.org/licenses/LICENSE-2.0 8 9 Unless required by applicable law or agreed to in writing, software 10 distributed under the License is distributed on an "AS IS" BASIS, 11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 See the License for the specific language governing permissions and 13 limitations under the License. 14 ==============================================================================*/ 15 16 #ifndef TENSORFLOW_CORE_UTIL_STAT_SUMMARIZER_OPTIONS_H_ 17 #define TENSORFLOW_CORE_UTIL_STAT_SUMMARIZER_OPTIONS_H_ 18 namespace tensorflow { 19 // Used to control the output of the statistics summarizer; 20 class StatSummarizerOptions { 21 public: StatSummarizerOptions()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_ 44