Categories
Misc

Why can’t I find `ndim` in the API docs for tf.Tensor?

I’m following a tutorial that user `ndim`, for example:

scalar = tf.constant(7) scalar.ndim 

However, I can’t find `ndim` in the attribute section of the API docs for `tf.Tensor`

Where should I be looking for this?

submitted by /u/snowch_uk
[visit reddit] [comments]

Leave a Reply

Your email address will not be published.