MayShareMemoryΒΆ

Determine if two arrays might share memory.

Abstract Signature:

MayShareMemory(a: Tensor, b: Tensor)

PyTorch

API: β€”
Strategy: Macro 'False'

JAX (Core)

API: β€”
Strategy: Macro 'False'

NumPy

API: numpy.may_share_memory
Strategy: Direct Mapping

Keras

API: β€”
Strategy: Macro 'False'

TensorFlow

API: β€”
Strategy: Macro 'False'

Apple MLX

API: β€”
Strategy: Macro 'False'

Flax NNX

API: β€”
Strategy: Macro 'False'

PaxML / Praxis

API: β€”
Strategy: Macro 'False'