# Machine Learning in Elixir: Chapter 6 Axon.Display.as\_table does not work (Page 133)

**URL:** <https://forum.devtalk.com/t/machine-learning-in-elixir-chapter-6-axon-display-as-table-does-not-work-page-133/220348>\
**Category:** PragProg Customers\
**Tags:** book-machine-learning-in-elixir, errata\
**Created:** [27 October 2025 19:31 UTC](https://forum.devtalk.com/t/machine-learning-in-elixir-chapter-6-axon-display-as-table-does-not-work-page-133/220348 "2025-10-27T19:31:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![iprog4u](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/i/b487fb/32.png) [@iprog4u](https://forum.devtalk.com/u/iprog4u)\
**Post date:** [9 February 2026 18:29 UTC](https://forum.devtalk.com/t/machine-learning-in-elixir-chapter-6-axon-display-as-table-does-not-work-page-133/220348/3 "2026-02-09T18:29:41Z")

</div>

Removing specific versions or updating to the latest available version corrected the issue for me. Pol Valente was kind enough to update the Axon lib, thanks Pol!

```auto
Mix.install([
  :axon,
  :nx,
  :exla,
  :kino,
  :table_rex,
  :scidata
])

Nx.default_backend(EXLA.Backend)

```

…

…

…

```auto
Axon.Display.as_table(model, template)
|> IO.puts()

```

```auto
+------------------------------------------------------------------------------------------------------------------+
| Model |
+=======================+===============================+==============+===================+=======================+
| Layer | Input Shape | Output Shape | Options | Parameters |
+=======================+===============================+==============+===================+=======================+
| images ( input ) | %{} | f32[1][784] | shape: {nil, 784} | |
| | | | optional: false | |
+-----------------------+-------------------------------+--------------+-------------------+-----------------------+
| dense_0 ( dense ) | %{"images" => "f32[1][784]"} | f32[1][128] | | kernel: f32[784][128] |
| | | | | bias: f32[128] |
+-----------------------+-------------------------------+--------------+-------------------+-----------------------+
| relu_0 ( relu ) | %{"dense_0" => "f32[1][128]"} | f32[1][128] | | |
+-----------------------+-------------------------------+--------------+-------------------+-----------------------+
| dense_1 ( dense ) | %{"relu_0" => "f32[1][128]"} | f32[1][10] | | kernel: f32[128][10] |
| | | | | bias: f32[10] |
+-----------------------+-------------------------------+--------------+-------------------+-----------------------+
| softmax_0 ( softmax ) | %{"dense_1" => "f32[1][10]"} | f32[1][10] | | |
+-----------------------+-------------------------------+--------------+-------------------+-----------------------+
Total Parameters: 101770
Total Parameters Memory: 407.08 kilobytes

```

---

_[View the full topic](https://forum.devtalk.com/t/machine-learning-in-elixir-chapter-6-axon-display-as-table-does-not-work-page-133/220348)._
