Returns x / y element-wise for real types. If `x` and `y` are reals, this will return the floating-point division. *NOTE*: `Div` supports broadcasting. More about broadcasting [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)
(scope *Scope, x tf.Output, y tf.Output)
| 15184 | // *NOTE*: `Div` supports broadcasting. More about broadcasting |
| 15185 | // [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) |
| 15186 | func RealDiv(scope *Scope, x tf.Output, y tf.Output) (z tf.Output) { |
| 15187 | if scope.Err() != nil { |
| 15188 | return |
| 15189 | } |
| 15190 | opspec := tf.OpSpec{ |
| 15191 | Type: "RealDiv", |
| 15192 | Input: []tf.Input{ |
| 15193 | x, y, |
| 15194 | }, |
| 15195 | } |
| 15196 | op := scope.AddOperation(opspec) |
| 15197 | return op.Output(0) |
| 15198 | } |
| 15199 | |
| 15200 | // ThreadUnsafeUnigramCandidateSamplerAttr is an optional argument to ThreadUnsafeUnigramCandidateSampler. |
| 15201 | type ThreadUnsafeUnigramCandidateSamplerAttr func(optionalAttr) |