legate.core.Runtime.create_store_from_scalar# Runtime.create_store_from_scalar( self, Scalar scalar, shape: Shape | Collection[int] | None = None, ) → LogicalStore# Create a store from a Scalar. If shape is not None, its volume bust be 1. The call does not block on the shape. Parameters: scalar (Scalar) – The scalar to create the store from. shape (Shape | Collection[int] | None (optional)) – The shape of the store. Returns: The newly created store. Return type: LogicalStore