Skip to content

Commit

Permalink
Fixup link to TTNNToSerializedBinary.cpp in docs (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsmithtt authored Jul 16, 2024
1 parent 8f9799e commit 75c1f5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/adding-an-op.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@ to a program called `flatc` which generates C++ code (or any language for that
matter) for serializing and deserializing the schema. This generated code can be
found in `build/include/ttmlir/Target/TTNN/program_generated.h`.
Let's head over to `lib/Dialect/TTNN/Transforms/SerializeToBinary.cpp` to define
Let's head over to `lib/Dialect/TTNN/Transforms/TTNNToSerializedBinary.cpp` to define
a `createOp` overloaded function that does the conversion from MLIR to flatbuffer:
```cpp
{{#include ../../../lib/Dialect/TTNN/Transforms/SerializeToBinary.cpp:adding_an_op_matmul_serialize_to_binary}}
{{#include ../../../lib/Dialect/TTNN/Transforms/TTNNToSerializedBinary.cpp:adding_an_op_matmul_serialize_to_binary}}
```

Lots of things are happening here, let's break it down:
Expand Down

0 comments on commit 75c1f5a

Please sign in to comment.