Returns element-wise remainder of division. This emulates C semantics in that the result here is consistent with a truncating divide. E.g. `tf.truncatediv(x, y) * y + truncate_mod(x, y) = x`. *NOTE*: `Mod` supports broadcasting. More about broadcasting [here](http://docs.scipy.org/doc/numpy/user/b
(scope *Scope, x tf.Output, y tf.Output)
| 33407 | // *NOTE*: `Mod` supports broadcasting. More about broadcasting |
| 33408 | // [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) |
| 33409 | func Mod(scope *Scope, x tf.Output, y tf.Output) (z tf.Output) { |
| 33410 | if scope.Err() != nil { |
| 33411 | return |
| 33412 | } |
| 33413 | opspec := tf.OpSpec{ |
| 33414 | Type: "Mod", |
| 33415 | Input: []tf.Input{ |
| 33416 | x, y, |
| 33417 | }, |
| 33418 | } |
| 33419 | op := scope.AddOperation(opspec) |
| 33420 | return op.Output(0) |
| 33421 | } |
| 33422 | |
| 33423 | // Computes the power of one value to another. |
| 33424 | // |
no test coverage detected