Skip to content

Commit 33307e7

Browse files
committed
add links to example code for converting Eigen::Matrix to fdeep::tensor3
1 parent 512c6d0 commit 33307e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ int main()
154154

155155
When using `convert_model.py` a test case (input and corresponding output values) is generated automatically and saved along with your model. `fdeep::load_model` runs this test to make sure the results of a forward pass in frugally-deep are the same as in Keras.
156156

157-
In order to convert images to `fdeep::tensor3` the convenience function `tensor3_from_bytes` is provided.
157+
In order to convert images to `fdeep::tensor3` the convenience function `tensor3_from_bytes` is provided. In case you want to convert an `Eigen::Matrix` to `fdeep::tensor3`, have a look at the following two examples: [copy values](https://gist.github.com/Dobiasd/966334bb867d170b334c8374e635cb9b), [reuse memory](https://gist.github.com/Dobiasd/2852c81adbd57a57e89d2d0385cc4c06)
158+
158159

159160

160161
Performance

0 commit comments

Comments
 (0)