<commit_before>site_name: Larq
site_description: "An Open-Source Library for Training Binarized Neural Networks"
site_author: "Plumerai"
site_url: "https://larq.dev/"

nav:
  - Learn:
      - Home: index.md
      - User Guides:
          - Key Concepts: guides/key-concepts.md
          - Building BNNs: guides/bnn-architecture.md
          - Training BNNs: guides/bnn-optimization.md
      - Examples:
          - Introduction to BNNs with Larq: examples/mnist.ipynb
          - BinaryNet on CIFAR10: examples/binarynet_cifar10.ipynb
          - BinaryNet on CIFAR10 (Advanced): examples/binarynet_advanced_cifar10.ipynb
  - API:
      - Layers: api/layers.md
      - Quantizers: api/quantizers.md
      - Activations: api/activations.md
      - Constraints: api/constraints.md
      - Callbacks: api/callbacks.md
      - Optimizers: api/optimizers.md
      - Math: api/math.md
      - Models: api/models.md
      - Metrics: api/metrics.md
  - Models:
      - Larq Zoo: models/index.md
      - Examples: models/examples.md
      - API: api/larq_zoo.md
  - Community:
      - Papers using Larq: papers.md
      - Contributing Guide: contributing.md
      - Code of Conduct: code-of-conduct.md
  - Why Larq?:
      - About: about.md
      - FAQ: faq.md

repo_url: https://github.com/larq/larq
repo_name: larq/larq
edit_uri: ""
theme:
  name: material
  custom_dir: docs-theme
  logo: images/logo-big-font.svg
  favicon: images/favicon-32.png
  palette:
    primary: larq
    accent: larq
  feature:
    tabs: true

extra:
  social:
    - type: "github"
      link: "https://github.com/larq"
    - type: "twitter"
      link: "https://twitter.com/PlumeraiHQ"
    - type: "linkedin"
      link: "https://www.linkedin.com/company/plumerai/"

markdown_extensions:
  - admonition
  - codehilite
  - pymdownx.superfences:
      custom_fences:
        - name: plot-activation
          class: larq-activation
          format: !!python/name:plot_activation.html_format
        - name: plot-altair
          class: larq-altair
          format: !!python/name:plot_altair.html_format
        - name: netron
          class: larq-netron
          format: !!python/name:netron_link.html_format
  - pymdownx.arithmatex
  - toc:
      permalink: true

extra_javascript:
  - "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"
  - "https://cdn.jsdelivr.net/npm/vega@5"
  - "https://cdn.jsdelivr.net/npm/vega-lite@3"
  - "https://cdn.jsdelivr.net/npm/vega-embed@5"

extra_css:
  - custom.css

plugins:
  - search
  - minify:
      minify_html: true
  - mknotebooks:
      execute: false
<commit_msg>:arrow_down: MathJax@2 (#228)<commit_after>site_name: Larq
site_description: "An Open-Source Library for Training Binarized Neural Networks"
site_author: "Plumerai"
site_url: "https://larq.dev/"

nav:
  - Learn:
      - Home: index.md
      - User Guides:
          - Key Concepts: guides/key-concepts.md
          - Building BNNs: guides/bnn-architecture.md
          - Training BNNs: guides/bnn-optimization.md
      - Examples:
          - Introduction to BNNs with Larq: examples/mnist.ipynb
          - BinaryNet on CIFAR10: examples/binarynet_cifar10.ipynb
          - BinaryNet on CIFAR10 (Advanced): examples/binarynet_advanced_cifar10.ipynb
  - API:
      - Layers: api/layers.md
      - Quantizers: api/quantizers.md
      - Activations: api/activations.md
      - Constraints: api/constraints.md
      - Callbacks: api/callbacks.md
      - Optimizers: api/optimizers.md
      - Math: api/math.md
      - Models: api/models.md
      - Metrics: api/metrics.md
  - Models:
      - Larq Zoo: models/index.md
      - Examples: models/examples.md
      - API: api/larq_zoo.md
  - Community:
      - Papers using Larq: papers.md
      - Contributing Guide: contributing.md
      - Code of Conduct: code-of-conduct.md
  - Why Larq?:
      - About: about.md
      - FAQ: faq.md

repo_url: https://github.com/larq/larq
repo_name: larq/larq
edit_uri: ""
theme:
  name: material
  custom_dir: docs-theme
  logo: images/logo-big-font.svg
  favicon: images/favicon-32.png
  palette:
    primary: larq
    accent: larq
  feature:
    tabs: true

extra:
  social:
    - type: "github"
      link: "https://github.com/larq"
    - type: "twitter"
      link: "https://twitter.com/PlumeraiHQ"
    - type: "linkedin"
      link: "https://www.linkedin.com/company/plumerai/"

markdown_extensions:
  - admonition
  - codehilite
  - pymdownx.superfences:
      custom_fences:
        - name: plot-activation
          class: larq-activation
          format: !!python/name:plot_activation.html_format
        - name: plot-altair
          class: larq-altair
          format: !!python/name:plot_altair.html_format
        - name: netron
          class: larq-netron
          format: !!python/name:netron_link.html_format
  - pymdownx.arithmatex
  - toc:
      permalink: true

extra_javascript:
  - "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.6/MathJax.js?config=TeX-AMS_CHTML"
  - "https://cdn.jsdelivr.net/npm/vega@5"
  - "https://cdn.jsdelivr.net/npm/vega-lite@3"
  - "https://cdn.jsdelivr.net/npm/vega-embed@5"

extra_css:
  - custom.css

plugins:
  - search
  - minify:
      minify_html: true
  - mknotebooks:
      execute: false

{'fraction_non_alphanumeric': 0.12023741144935861, 'fraction_numerical': 0.006701129618992916, 'mean_word_length': 2.3273885350318473, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 18, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5160389', 'n_tokens_mistral': 1957, 'n_tokens_neox': 1863, 'n_words': 340}