to_dense ======== Auto-generated from keras_code_defs .. raw:: html

PyTorch

API: torch.nn.attention.flex_attention.BlockMask.to_dense
Strategy: Direct Mapping

Keras

API: keras.src.legacy.backend.to_dense
Strategy: Direct Mapping