TypeTensor - v0.1.0
    Preparing search index...

    Type Alias Add<A, B>

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

    Add operation with broadcasting support

    Type Parameters

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