How does tensorflow stores/represents bool tensors in memory?
What do you meant?
I haven’t been very clear effectively, what I meant to ask was what is the size of a bool element in tensorflow?
Isn’t just c++ bool
?
Ok thank you.
I just wanted to check that there wasn’t any optimisation trick like in C++ std::vector<bool>
(which can use bit masking in some implementations).
I have a little concern about this though, it seems that sizeof(bool)
isn’t a C++ language standard.
I think you could check:
1 Like
Thank you for your help!