Trait tc_collection::tensor::TensorCond
source · pub trait TensorCond<Then, OrElse> {
type Cond: TensorInstance;
// Required method
fn cond(self, then: Then, or_else: OrElse) -> TCResult<Self::Cond>;
}Expand description
Conditional logic for Tensors
Required Associated Types§
sourcetype Cond: TensorInstance
type Cond: TensorInstance
The type of Tensor returned by cond