UNPKG

@tensorflow/tfjs-core

Version:

Hardware-accelerated JavaScript library for machine intelligence

9 lines (8 loc) 397 B
import { Tensor } from '../tensor'; export declare class LogicalOps { static logicalNot<T extends Tensor>(x: T): T; static logicalAnd<T extends Tensor>(a: Tensor, b: Tensor): T; static logicalOr<T extends Tensor>(a: Tensor, b: Tensor): T; static logicalXor<T extends Tensor>(a: Tensor, b: Tensor): T; static where<T extends Tensor>(condition: Tensor, a: T, b: T): T; }