blob: d5fde0537d8e87bf4788d9710b8e02cd7abd88cb [file] [log] [blame]
op {
graph_op_name: "InplaceAdd"
in_arg {
name: "x"
description: "A `Tensor` of type T."
}
in_arg {
name: "i"
description: "A vector. Indices into the left-most dimension of `x`."
}
in_arg {
name: "v"
description:
"A `Tensor` of type T. Same dimension sizes as x except "
"the first dimension, which must be the same as i's size."
}
out_arg {
name: "y"
description:
"A `Tensor` of type T. An alias of `x`. The content "
"of `y` is undefined if there are duplicates in `i`."
}
summary: "Adds v into specified rows of x."
description: <<END
Computes y = x; y[i, :] += v; return y.
END
}