Fixed some typos

This commit is contained in:
Kinar 2023-10-03 01:51:18 -07:00
parent 3564fc0d9b
commit 753ba916a1
2 changed files with 5 additions and 5 deletions

View File

@ -62,8 +62,8 @@ struct EmbeddingResult {
// The optional timestamp (in milliseconds) of the start of the chunk of data // The optional timestamp (in milliseconds) of the start of the chunk of data
// corresponding to these results. // corresponding to these results.
// //
// This is only used for classification on time series (e.g. audio // This is only used for embedding extraction on time series (e.g. audio
// classification). In these use cases, the amount of data to process might // embedding). In these use cases, the amount of data to process might
// exceed the maximum size that the model can process: to solve this, the // exceed the maximum size that the model can process: to solve this, the
// input data is split into multiple chunks starting at different timestamps. // input data is split into multiple chunks starting at different timestamps.
int64_t timestamp_ms; int64_t timestamp_ms;

View File

@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==============================================================================*/ ==============================================================================*/
#ifndef MEDIAPIPE_TASKS_C_TEXT_TEXT_CLASSIFIER_TEXT_EMBEDDER_H_ #ifndef MEDIAPIPE_TASKS_C_TEXT_TEXT_EMBEDDER_TEXT_EMBEDDER_H_
#define MEDIAPIPE_TASKS_C_TEXT_TEXT_CLASSIFIER_TEXT_EMBEDDER_H_ #define MEDIAPIPE_TASKS_C_TEXT_TEXT_EMBEDDER_TEXT_EMBEDDER_H_
#include "mediapipe/tasks/c/components/containers/embedding_result.h" #include "mediapipe/tasks/c/components/containers/embedding_result.h"
#include "mediapipe/tasks/c/components/processors/embedder_options.h" #include "mediapipe/tasks/c/components/processors/embedder_options.h"
@ -72,4 +72,4 @@ MP_EXPORT int text_embedder_close(void* embedder,
} // extern C } // extern C
#endif #endif
#endif // MEDIAPIPE_TASKS_C_TEXT_TEXT_CLASSIFIER_TEXT_EMBEDDER_H_ #endif // MEDIAPIPE_TASKS_C_TEXT_TEXT_EMBEDDER_TEXT_EMBEDDER_H_