8.1.1.1.1.10. blueoil.cmd.profile_model

8.1.1.1.1.10.1. Module Contents

8.1.1.1.1.10.1.1. Functions

_profile(config, restore_path, bit, unquant_layers)

_render(name, image_size, num_classes, bit, res)

_save_json(name, image_size, num_classes, node_param_dict, node_flops_dict)

_profile_flops(graph, res, scopes)

_profile_params(graph, res, bit, unquant_layers)

run(experiment_id, restore_path, config_file, bit, unquant_layers)

main(experiment_id, restore_path, config_file, bit, unquant_layers)

Profiling a trained model.

blueoil.cmd.profile_model.logger
blueoil.cmd.profile_model._profile(config, restore_path, bit, unquant_layers)
blueoil.cmd.profile_model._render(name, image_size, num_classes, bit, res)
blueoil.cmd.profile_model._save_json(name, image_size, num_classes, node_param_dict, node_flops_dict)
blueoil.cmd.profile_model._profile_flops(graph, res, scopes)
blueoil.cmd.profile_model._profile_params(graph, res, bit, unquant_layers)
blueoil.cmd.profile_model.run(experiment_id, restore_path, config_file, bit, unquant_layers)
blueoil.cmd.profile_model.main(experiment_id, restore_path, config_file, bit, unquant_layers)

Profiling a trained model.

If it exists unquantized layers, use -uql to point it out.