Shape

class plaidml.tile.Shape[source]

Represents a symbolic tensor shape.

Methods

count(value)
index(value, [start, [stop]]) Raises ValueError if the value is not present.

Attributes

dims Alias for field number 1
dtype Alias for field number 0
ndims The shape’s dimensionality.