broadcastOp

Undocumented in source.
  1. auto broadcastOp(Tensor!(T, Shape1, useGrad1) x, Tensor!(T, Shape2, useGrad2) y)
    template broadcastOp(string op)
    version(all)
    broadcastOp
    (
    T
    size_t[] Shape1
    UseGradient useGrad1
    size_t[] Shape2
    UseGradient useGrad2
    )
    (
    Tensor!(T, Shape1, useGrad1) x
    ,
    Tensor!(T, Shape2, useGrad2) y
    )
    if (
    Shape1[$ - Shape2.length .. $] == Shape2
    )
    if (
    op == "+" ||
    op == "-"
    )
  2. template broadcastOp(string op)

Members

Functions

broadcastOp
auto broadcastOp(Tensor!(T, Shape1, useGrad1) x, Tensor!(T, Shape2, useGrad2) y)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta