TypeTensor - v0.1.0
    Preparing search index...

    Type Alias Sub<A, B>

    Sub: CanBroadcast<A["__shape"], B["__shape"]> extends true
        ? BinaryOp<A, B, "sub">
        : IncompatibleShapes<A["__shape"], B["__shape"]>

    Subtract operation with broadcasting support

    Type Parameters

    type A = TensorStorage<Float32, [2, 3]>;
    type B = TensorStorage<Float32, [1, 3]>;
    type Result = Sub<A, B>; // Output shape: [2, 3]