Generates fingerprint values. Generates fingerprint values of `data`. Fingerprint op considers the first dimension of `data` as the batch dimension, and `output[i]` contains the fingerprint value generated from contents in `data[i, ...]` for all `i`. Fingerprint op writes fingerprint values as by
(scope *Scope, data tf.Output, method tf.Output)
| 80 | // `data`'s first dimension, and the second dimension size depends on the |
| 81 | // fingerprint algorithm. |
| 82 | func Fingerprint(scope *Scope, data tf.Output, method tf.Output) (fingerprint tf.Output) { |
| 83 | if scope.Err() != nil { |
| 84 | return |
| 85 | } |
| 86 | opspec := tf.OpSpec{ |
| 87 | Type: "Fingerprint", |
| 88 | Input: []tf.Input{ |
| 89 | data, method, |
| 90 | }, |
| 91 | } |
| 92 | op := scope.AddOperation(opspec) |
| 93 | return op.Output(0) |
| 94 | } |
| 95 | |
| 96 | // FakeQuantWithMinMaxVarsPerChannelGradientAttr is an optional argument to FakeQuantWithMinMaxVarsPerChannelGradient. |
| 97 | type FakeQuantWithMinMaxVarsPerChannelGradientAttr func(optionalAttr) |
no test coverage detected