deeplake icon indicating copy to clipboard operation
deeplake copied to clipboard

multidimensional array operations in Tensor Query Language

Open dongheuw opened this issue 2 years ago • 1 comments

How can I perform the multidimensional array operations written in your CIDR paper (https://arxiv.org/pdf/2209.10785.pdf)?

image

Tried on the platform but wasn't supported.

Thanks a lot in advance!

dongheuw avatar Mar 02 '23 03:03 dongheuw

Hey @dongheuw TQL right now supports multidimensional array operations on the filtering expressions, such as WHERE, ORDER BY, SAMPLE BY. For example select * where any(logical_and(boxes[:,3]>500, categories == 'truck')) returns samples on coco-train which have at least one truck with height more than 500

Supporting then on tensor selection list is in progress and will be released soon. Thanks.

khustup avatar Mar 02 '23 06:03 khustup