Skip to content

Commit de6ad5c

Browse files
wangtzxunkai55
authored andcommitted
Task Library Audio: Improve documentation for audio_classifier.h
PiperOrigin-RevId: 373898632
1 parent 98e5237 commit de6ad5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tensorflow_lite_support/cc/task/audio/audio_classifier.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ namespace audio {
4040
// (kTfLiteFloat32)
4141
// - input audio buffer of size `[batch * samples]`.
4242
// - batch inference is not supported (`batch` is required to be 1).
43+
// - for multi-channel models, the channels need be interleaved.
4344
// At least one output tensor with:
4445
// (kTfLiteFloat32)
45-
// - `[1 x N]` array with `N ` represents the class number.
46+
// - `[1 x N]` array with `N` represents the class number.
4647
// - optional (but recommended) label map(s) as AssociatedFile-s with type
4748
// TENSOR_AXIS_LABELS, containing one label per line. The first such
4849
// AssociatedFile (if any) is used to fill the `class_name` field of the

0 commit comments

Comments
 (0)