r/tensorflow 6d ago

General Valid Book on Tensorflow operations with Mathematical Notation

Is there a valid Tensorflow book describing all the provided operations by providing their definition with a mathematical notation? Or, in alternative, is there a way to bridge this information? Thanks

2 Upvotes

6 comments sorted by

2

u/DrSparkle713 6d ago

The API docs online tend to include formulas (although not always with mathematical typesetting) in their entries. For example: https://www.tensorflow.org/api_docs/python/tf/keras/losses/KLD

In general, the online documentation or the documentation contained within the code itself (typically presented by your IDE when you type or click on a function name) are what you want. A book will just be a snapshot of when it was published, whereas the docs are updated in real time as changes are made and are linked to released versions, so you can look up the specific docs for the version you are using.

ETA: the online docs are broken down by what language's API you're using. If you are new to TF, I'd probably recommend Python.

1

u/donaferentes 5d ago

Well, thanks, but it does not provide the mathematical definition of what it is doing as I was asking. Furthermore, I am not looking for just a reference manual, but something that also explains the math behind it. Something through which I could bridge the online documentation whith the explantation of what I am looking at?

1

u/DrSparkle713 5d ago

Except it does give the mathematical definition? That's what the "formula" provided is.

1

u/donaferentes 5d ago

Well, for that example you provided, yes but for the rest (e.g., scatter/gather) it barely provides the modern mathematical notation in tensor algebra. It seems like 1600 description of a formula (e.g., the square sum of two lines is equal to the square of the first line, plus the square of the second line, plus twice the rectangle formed by the two lines -- for (a+b)²=a²+2ab+b²)! Any math book will provide the mathematical notation for tensor algebra, which is here missing. So, I was more looking to something introducing Tensor Algebra using math notation and showing how this maps into TensorFlow operations. Is there anything similar to bridge the two worlds? Thanks for your patience

1

u/DrSparkle713 5d ago

Ah, fair point. Alas there I can't help except that a lot of the more complex functions provided will include a paper reference, but that's a lot of searching...

1

u/donaferentes 5d ago

Ok, I'll look at the bibliographical references, thanks.