_shared ======= .. py:module:: _shared Attributes ---------- .. autoapisummary:: _shared.data_directory _shared.model_directory _shared.label_directory Functions --------- .. autoapisummary:: _shared.get_base64_of_bin_file _shared.build_markup_for_logo _shared.add_sidebar_logo _shared.add_sidebar_goddess_logo _shared._methods_checkboxes _shared._get_params _shared._get_top_indices _shared._get_top_indices_and_labels _shared.reset_method _shared.reset_example Module Contents --------------- .. py:data:: data_directory .. py:data:: model_directory .. py:data:: label_directory .. py:function:: get_base64_of_bin_file(png_file) .. py:function:: build_markup_for_logo(png_file, background_position='10% 10%', margin_top='0%', image_width='60%', image_height='', padding_top='70px') .. py:function:: add_sidebar_logo() Upload DIANNA logo to sidebar element. .. py:function:: add_sidebar_goddess_logo() Upload DIANNA goddess logo to sidebar element. .. py:function:: _methods_checkboxes(*, choices: Sequence, key) Get methods from a horizontal row of checkboxes and the corresponding parameters. .. py:function:: _get_params(method: str, key) .. py:function:: _get_top_indices(predictions, n_top) .. py:function:: _get_top_indices_and_labels(*, predictions, labels) .. py:function:: reset_method() .. py:function:: reset_example()