1syntax = "proto3"; 2 3package tensorflow.tfprof; 4 5// Refers to tfprof_options.h/cc for documentation. 6// Only used to pass tfprof options from Python to C++. 7message OptionsProto { 8 int64 max_depth = 1; 9 int64 min_bytes = 2; 10 int64 min_peak_bytes = 19; 11 int64 min_residual_bytes = 20; 12 int64 min_output_bytes = 21; 13 int64 min_micros = 3; 14 int64 min_accelerator_micros = 22; 15 int64 min_cpu_micros = 23; 16 int64 min_params = 4; 17 int64 min_float_ops = 5; 18 int64 min_occurrence = 17; 19 int64 step = 18; 20 21 string order_by = 7; 22 repeated string account_type_regexes = 8; 23 repeated string start_name_regexes = 9; 24 repeated string trim_name_regexes = 10; 25 repeated string show_name_regexes = 11; 26 repeated string hide_name_regexes = 12; 27 bool account_displayed_op_only = 13; 28 repeated string select = 14; 29 string output = 15; 30 string dump_to_file = 16; 31} 32 33message AdvisorOptionsProto { 34 // checker name -> a dict of key-value options. 35 map<string, CheckerOption> checkers = 1; 36 message CheckerOption { 37 map<string, string> options = 1; 38 } 39} 40