fn
is_storage
→boolis_storage(x: Tensor)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
xTensorObject to test.
Returns
boolAlways 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