-
Notifications
You must be signed in to change notification settings - Fork 12
Binary masks? #77
Copy link
Copy link
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Maybe I missed it, but is it possible to generate a binary-mask for a tensor? Basically given a tensor T, I want to generate a tensor M which is the same shape as T, with boolean elements such that a particular element of M is true if the corresponding element of T satisfies some condition. I can get the same effect with apply_ewise, but with substantially greater memory cost.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested