TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-15

Size

class tensorplay.Size(iterable=(), /)

Sequence of tensor dimension sizes (tuple subclass).

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

numel()

Product of the dimensions.

On this page

Ask DeepWiki