public interface BooleanTensor extends Tensor<java.lang.Boolean>, io.improbable.keanu.kotlin.BooleanOperators<BooleanTensor>
Tensor.FlattenedView<T>
SCALAR_SHAPE, SCALAR_STRIDE
asFlatArray, asFlatDoubleArray, asFlatIntegerArray, asFlatList, elementwiseEquals, elementwiseEquals, elementwiseEquals, getFlattenedView, getLength, getRank, getShape, getValue, getValue, hasSameShapeAs, hasSameShapeAs, isMatrix, isScalar, isShapePlaceholder, isVector, scalar, setValue
static BooleanTensor create(boolean value, long[] shape)
static BooleanTensor create(boolean[] values, long... shape)
static BooleanTensor create(boolean... values)
static BooleanTensor scalar(boolean scalarValue)
static BooleanTensor placeHolder(long[] shape)
placeHolder
in interface Tensor<java.lang.Boolean>
static BooleanTensor trues(long... shape)
static BooleanTensor falses(long... shape)
static BooleanTensor concat(int dimension, BooleanTensor[] toConcat)
BooleanTensor reshape(long... newShape)
BooleanTensor duplicate()
BooleanTensor and(BooleanTensor that)
and
in interface io.improbable.keanu.kotlin.BooleanOperators<BooleanTensor>
default BooleanTensor and(boolean that)
and
in interface io.improbable.keanu.kotlin.BooleanOperators<BooleanTensor>
BooleanTensor or(BooleanTensor that)
or
in interface io.improbable.keanu.kotlin.BooleanOperators<BooleanTensor>
default BooleanTensor or(boolean that)
or
in interface io.improbable.keanu.kotlin.BooleanOperators<BooleanTensor>
BooleanTensor not()
not
in interface io.improbable.keanu.kotlin.BooleanOperators<BooleanTensor>
DoubleTensor setDoubleIf(DoubleTensor trueValue, DoubleTensor falseValue)
IntegerTensor setIntegerIf(IntegerTensor trueValue, IntegerTensor falseValue)
BooleanTensor setBooleanIf(BooleanTensor trueValue, BooleanTensor falseValue)
BooleanTensor andInPlace(BooleanTensor that)
BooleanTensor orInPlace(BooleanTensor that)
BooleanTensor notInPlace()
boolean allTrue()
boolean allFalse()
DoubleTensor toDoubleMask()
IntegerTensor toIntegerMask()
BooleanTensor slice(int dimension, long index)