ShapeOf
¶
-
class
plaidml.tile.
ShapeOf
(x)[source]¶ Computes the shape of a supplied tensor.
- (N.B. This is in tile.py instead of in op.py solely because it’s useful
- to be able to reference it from Value.__getitem__(). For future-proofing, frameworks should reference this class as op.ShapeOf.)
Methods
__init__
(x)Operation constructor. bind
(bindings)Builds an output variable dictionary for the operation. function
(*args, **kwargs)Invokes an Operation as a function. sole_output
()