Returns x * y element-wise, working on quantized buffers. Arguments: min_x: The float value that the lowest quantized `x` value represents. max_x: The float value that the highest quantized `x` value represents. min_y: The float value that the lowest quantized `y` value represents. max_y: The
(scope *Scope, x tf.Output, y tf.Output, min_x tf.Output, max_x tf.Output, min_y tf.Output, max_y tf.Output, optional ...QuantizedMulAttr)
| 36348 | // *NOTE*: `QuantizedMul` supports limited forms of broadcasting. More about |
| 36349 | // broadcasting [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) |
| 36350 | func QuantizedMul(scope *Scope, x tf.Output, y tf.Output, min_x tf.Output, max_x tf.Output, min_y tf.Output, max_y tf.Output, optional ...QuantizedMulAttr) (z tf.Output, min_z tf.Output, max_z tf.Output) { |
| 36351 | if scope.Err() != nil { |
| 36352 | return |
| 36353 | } |
| 36354 | attrs := map[string]interface{}{} |
| 36355 | for _, a := range optional { |
| 36356 | a(attrs) |
| 36357 | } |
| 36358 | opspec := tf.OpSpec{ |
| 36359 | Type: "QuantizedMul", |
| 36360 | Input: []tf.Input{ |
| 36361 | x, y, min_x, max_x, min_y, max_y, |
| 36362 | }, |
| 36363 | Attrs: attrs, |
| 36364 | } |
| 36365 | op := scope.AddOperation(opspec) |
| 36366 | return op.Output(0), op.Output(1), op.Output(2) |
| 36367 | } |
| 36368 | |
| 36369 | // QuantizedAddAttr is an optional argument to QuantizedAdd. |
| 36370 | type QuantizedAddAttr func(optionalAttr) |