fn

is_storage

bool
is_storage(x: Tensor)
source

Predicate: is the object a separate Storage container?

Lucid does not expose a distinct Storage type — tensor data ownership is folded into the Tensor class itself — so this predicate always returns False. Provided for API parity with reference frameworks that maintain a Tensor/Storage split.

Parameters

xTensor
Object to test.

Returns

bool

Always False in Lucid.

Notes

Lucid uses an arc-buffer model where every Tensor directly owns its byte buffer (see the arch-storage-ownership ADR). There is therefore no separate Storage handle to query.

Examples

>>> import lucid
>>> lucid.is_storage(lucid.zeros(3))
False