Trait BitWiseOp

Source
pub trait BitWiseOp {
    // Required methods
    fn bitwise_and(&self, rhs: &Tensor) -> Result<Tensor>;
    fn bitwise_or(&self, rhs: &Tensor) -> Result<Tensor>;
    fn bitwise_xor(&self, rhs: &Tensor) -> Result<Tensor>;
}

Required Methods§

Source

fn bitwise_and(&self, rhs: &Tensor) -> Result<Tensor>

Source

fn bitwise_or(&self, rhs: &Tensor) -> Result<Tensor>

Source

fn bitwise_xor(&self, rhs: &Tensor) -> Result<Tensor>

Implementations on Foreign Types§

Source§

impl BitWiseOp for Tensor

Source§

fn bitwise_and(&self, rhs: &Tensor) -> Result<Tensor>

Source§

fn bitwise_or(&self, rhs: &Tensor) -> Result<Tensor>

Source§

fn bitwise_xor(&self, rhs: &Tensor) -> Result<Tensor>

Implementors§