Home
last modified time | relevance | path

Searched refs:feature_vector (Results 1 – 17 of 17) sorted by relevance

/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Dspectral_features_unittest.cc36 std::array<float, kTestFeatureVectorSize>* feature_vector) { in GetHigherBandsSpectrum() argument
37 return {feature_vector->data() + kNumLowerBands, kNumBands - kNumLowerBands}; in GetHigherBandsSpectrum()
41 std::array<float, kTestFeatureVectorSize>* feature_vector) { in GetAverage() argument
42 return {feature_vector->data(), kNumLowerBands}; in GetAverage()
46 std::array<float, kTestFeatureVectorSize>* feature_vector) { in GetFirstDerivative() argument
47 return {feature_vector->data() + kNumBands, kNumLowerBands}; in GetFirstDerivative()
51 std::array<float, kTestFeatureVectorSize>* feature_vector) { in GetSecondDerivative() argument
52 return {feature_vector->data() + kNumBands + kNumLowerBands, kNumLowerBands}; in GetSecondDerivative()
56 std::array<float, kTestFeatureVectorSize>* feature_vector) { in GetCepstralCrossCorrelation() argument
57 return {feature_vector->data() + kNumBands + 2 * kNumLowerBands, in GetCepstralCrossCorrelation()
[all …]
Dfeatures_extraction.cc54 rtc::ArrayView<float, kFeatureVectorSize> feature_vector) { in CheckSilenceComputeFeatures() argument
72 feature_vector[kFeatureVectorSize - 2] = 0.01f * (pitch_period_48kHz_ - 300); in CheckSilenceComputeFeatures()
81 {feature_vector.data() + kNumLowerBands, kNumBands - kNumLowerBands}, in CheckSilenceComputeFeatures()
82 {feature_vector.data(), kNumLowerBands}, in CheckSilenceComputeFeatures()
83 {feature_vector.data() + kNumBands, kNumLowerBands}, in CheckSilenceComputeFeatures()
84 {feature_vector.data() + kNumBands + kNumLowerBands, kNumLowerBands}, in CheckSilenceComputeFeatures()
85 {feature_vector.data() + kNumBands + 2 * kNumLowerBands, kNumLowerBands}, in CheckSilenceComputeFeatures()
86 &feature_vector[kFeatureVectorSize - 1]); in CheckSilenceComputeFeatures()
Dfeatures_extraction_unittest.cc55 rtc::ArrayView<float, kFeatureVectorSize> feature_vector) { in FeedTestData() argument
63 feature_vector); in FeedTestData()
80 std::vector<float> feature_vector(kFeatureVectorSize); in TEST() local
81 ASSERT_EQ(kFeatureVectorSize, rtc::dchecked_cast<int>(feature_vector.size())); in TEST()
83 feature_vector.data(), kFeatureVectorSize); in TEST()
Drnn_vad_tool.cc69 std::array<float, kFeatureVectorSize> feature_vector; in main() local
86 samples_10ms_24kHz, feature_vector); in main()
88 rnn_vad.ComputeVadProbability(feature_vector, is_silence); in main()
99 feature_vector.fill(0.f); in main()
101 fwrite(feature_vector.data(), sizeof(float), kFeatureVectorSize, in main()
Drnn_vad_unittest.cc81 std::vector<float> feature_vector(kFeatureVectorSize); in TEST_P() local
96 {feature_vector.data(), kFeatureVectorSize}); in TEST_P()
98 {feature_vector.data(), kFeatureVectorSize}, is_silence); in TEST_P()
135 std::array<float, kFeatureVectorSize> feature_vector; in TEST_P() local
148 feature_vector); in TEST_P()
149 rnn_vad.ComputeVadProbability(feature_vector, is_silence); in TEST_P()
Drnn.cc77 rtc::ArrayView<const float, kFeatureVectorSize> feature_vector, in ComputeVadProbability() argument
83 input_.ComputeOutput(feature_vector); in ComputeVadProbability()
Drnn.h41 rtc::ArrayView<const float, kFeatureVectorSize> feature_vector,
Dfeatures_extraction.h40 rtc::ArrayView<float, kFeatureVectorSize> feature_vector);
/external/tensorflow/tensorflow/lite/g3doc/inference_with_metadata/task_library/
Dimage_embedder.md59 result_1.embeddings[0].feature_vector(),
60 result_2.embeddings[0].feature_vector());
93 feature_vector_1 = result_1.embeddings[0].feature_vector
94 feature_vector_2 = result_2.embeddings[0].feature_vector
96 result_1.embeddings[0].feature_vector, result_2.embeddings[0].feature_vector)
Dtext_embedder.md52 result_1.embeddings[0].feature_vector()
53 result_2.embeddings[0].feature_vector());
84 feature_vector_1 = result_1.embeddings[0].feature_vector
85 feature_vector_2 = result_2.embeddings[0].feature_vector
87 result_1.embeddings[0].feature_vector, result_2.embeddings[0].feature_vector)
Dimage_searcher.md40 …tps://tfhub.dev/google/lite-model/imagenet/mobilenet_v3_small_100_224/feature_vector/5/metadata/1).
/external/webrtc/modules/audio_processing/agc2/
Dvad_wrapper.cc41 std::array<float, rnn_vad::kFeatureVectorSize> feature_vector; in Analyze() local
44 feature_vector); in Analyze()
45 return rnn_vad_.ComputeVadProbability(feature_vector, is_silence); in Analyze()
/external/libtextclassifier/native/lang_id/common/
Dembedding-network.cc165 const FeatureVector &feature_vector = feature_vectors[es_index]; in ConcatEmbeddings() local
166 const int num_features = feature_vector.size(); in ConcatEmbeddings()
168 const FeatureType *feature_type = feature_vector.type(fi); in ConcatEmbeddings()
180 const FeatureValue feature_value = feature_vector.value(fi); in ConcatEmbeddings()
/external/webrtc/common_audio/vad/
Dvad_core.c675 int16_t feature_vector[kNumChannels], total_power; in WebRtcVad_CalcVad8khz() local
679 feature_vector); in WebRtcVad_CalcVad8khz()
682 inst->vad = GmmProbability(inst, feature_vector, total_power, frame_length); in WebRtcVad_CalcVad8khz()
/external/cronet/base/test/
Dscoped_feature_list.cc194 const std::vector<ScopedFeatureList::FeatureWithStudyGroup>& feature_vector, in ContainsFeature() argument
196 return Contains(feature_vector, feature_name, in ContainsFeature()
/external/tensorflow/tensorflow/lite/g3doc/examples/modify/model_maker/
Dimage_classification.ipynb63 …" \u003ca href=\"https://tfhub.dev/google/imagenet/inception_v3/feature_vector/1\"\u003e\u003ci…
784 …"As [Inception V3](https://tfhub.dev/google/imagenet/inception_v3/feature_vector/1) model as an ex…
798 " uri='https://tfhub.dev/google/imagenet/inception_v3/feature_vector/1')\n",
/external/cronet/third_party/metrics_proto/
Dcast_logs.proto231 repeated float feature_vector = 15; field