MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / QuantizedConcat

Function QuantizedConcat

tensorflow/go/op/wrappers.go:339–351  ·  view source on GitHub ↗

Concatenates quantized tensors along one dimension. Arguments: concat_dim: 0-D. The dimension along which to concatenate. Must be in the range [0, rank(values)). values: The `N` Tensors to concatenate. Their ranks and types must match, and their sizes must match in all dimensions except `concat

(scope *Scope, concat_dim tf.Output, values []tf.Output, input_mins []tf.Output, input_maxes []tf.Output)

Source from the content-addressed store, hash-verified

337// `concat_dim` dimension. This tensor's shape matches that of `values` except
338// in `concat_dim` where it has the sum of the sizes.The float value that the minimum quantized output value represents.The float value that the maximum quantized output value represents.
339func QuantizedConcat(scope *Scope, concat_dim tf.Output, values []tf.Output, input_mins []tf.Output, input_maxes []tf.Output) (output tf.Output, output_min tf.Output, output_max tf.Output) {
340 if scope.Err() != nil {
341 return
342 }
343 opspec := tf.OpSpec{
344 Type: "QuantizedConcat",
345 Input: []tf.Input{
346 concat_dim, tf.OutputList(values), tf.OutputList(input_mins), tf.OutputList(input_maxes),
347 },
348 }
349 op := scope.AddOperation(opspec)
350 return op.Output(0), op.Output(1), op.Output(2)
351}
352
353// QuantizeV2Attr is an optional argument to QuantizeV2.
354type QuantizeV2Attr func(optionalAttr)

Callers

nothing calls this directly

Calls 3

ErrMethod · 0.45
AddOperationMethod · 0.45
OutputMethod · 0.45

Tested by

no test coverage detected