Class Masking


  • public class Masking
    extends Object
    • Constructor Detail

      • Masking

        public Masking()
    • Method Detail

      • applyMask

        public static INDArray applyMask​(INDArray input,
                                         INDArray mask,
                                         int axis)
        Applies a boolean mask to the given input. This is equivalent to tensorflow's boolean_mask
        Parameters:
        input - the input to mask
        mask - the target mask to apply
        axis - the axis to apply along
        Returns: