jina.optimizers.discovery

jina.optimizers.discovery.print_parameter(discovered_parameters)[source]

Print the optimized parameters

Parameters

discovered_parameters – optimized parameters

jina.optimizers.discovery.run_parameter_discovery(flow_files, target_file, overwrite_parameter_file)[source]

Discover optimized parameters.

Parameters
  • flow_files – YAML configuration files for flow

  • target_file – YAML files of parameters results

  • overwrite_parameter_file – True of want to overwrite existing parameter file

jina.optimizers.discovery.config_global_environment()[source]

Config global environment variables.

jina.optimizers.discovery.main()[source]

Main function.