Home
last modified time | relevance | path

Searched refs:tmp_data (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/train/
Ddata_augmentation.py31 tmp_data = [[0
37 tmp_data[denominator * i +
40 return tmp_data
57 tmp_data = [[0 for i in range(len(data[0]))] for j in range(len(data))]
59 for i in range(len(tmp_data)):
60 for j in range(len(tmp_data[i])):
61 tmp_data[i][j] = data[i][j] + 5 * random.random()
62 new_data.append(tmp_data)
Ddata_load.py71 tmp_data = (np.random.rand(seq_length, dim) - 0.5) * noise_level + data[0]
72 tmp_data[(seq_length -
74 padded_data.append(tmp_data)
76 tmp_data = (np.random.rand(seq_length, dim) - 0.5) * noise_level + data[-1]
77 tmp_data[:min(len(data), seq_length)] = data[:min(len(data), seq_length)]
78 padded_data.append(tmp_data)
/external/selinux/libsepol/src/
Dpolicydb_convert.c38 void *tmp_data = NULL; in policydb_to_image() local
63 tmp_data = pf.data; in policydb_to_image()
74 pf.data = tmp_data; in policydb_to_image()
89 *newdata = tmp_data; in policydb_to_image()
99 free(tmp_data); in policydb_to_image()
/external/boringssl/src/crypto/x509v3/
Dv3_pci.c114 unsigned char *tmp_data = NULL; in process_pci_value() local
135 tmp_data = OPENSSL_realloc((*policy)->data, in process_pci_value()
137 if (tmp_data) { in process_pci_value()
138 (*policy)->data = tmp_data; in process_pci_value()
158 tmp_data = OPENSSL_realloc((*policy)->data, in process_pci_value()
160 if (tmp_data) { in process_pci_value()
161 (*policy)->data = tmp_data; in process_pci_value()
182 if (!tmp_data) { in process_pci_value()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/
Dv3_pci.c114 unsigned char *tmp_data = NULL; in process_pci_value() local
135 tmp_data = OPENSSL_realloc((*policy)->data, in process_pci_value()
137 if (tmp_data) { in process_pci_value()
138 (*policy)->data = tmp_data; in process_pci_value()
158 tmp_data = OPENSSL_realloc((*policy)->data, in process_pci_value()
160 if (tmp_data) { in process_pci_value()
161 (*policy)->data = tmp_data; in process_pci_value()
182 if (!tmp_data) { in process_pci_value()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/spresense/src/
Dspresense_audio_provider.cc32 static int16_t tmp_data[16000]; variable
50 memcpy(&tmp_data[data_cnt], *audio_samples, sz * 2); in GetAudioSamples()
56 printf("%d\n", tmp_data[i]); in GetAudioSamples()
/external/libxaac/decoder/
Dixheaacd_imdct.c139 WORD32 *preshift, WORD32 *tmp_data) { in ixheaacd_fft_based_imdct() argument
147 data_r = tmp_data; in ixheaacd_fft_based_imdct()
148 data_i = tmp_data + 512; in ixheaacd_fft_based_imdct()
177 WORD32 *tmp_data) { in ixheaacd_acelp_imdct() argument
195 err = ixheaacd_fft_based_imdct(imdct_in, npoints / 2, &preshift, tmp_data); in ixheaacd_acelp_imdct()
/external/grpc-grpc/src/php/ext/grpc/
Dphp7_wrapper.h84 zval **tmp_data = NULL; \
86 zend_hash_get_current_data(ht, (void**)&tmp_data) == SUCCESS; \
88 data = *tmp_data;
/external/webrtc/p2p/base/
Ddtls_transport.cc759 const uint8_t* tmp_data = reinterpret_cast<const uint8_t*>(data); in HandleDtlsPacket() local
765 size_t record_len = (tmp_data[11] << 8) | (tmp_data[12]); in HandleDtlsPacket()
769 tmp_data += record_len + kDtlsRecordHeaderLen; in HandleDtlsPacket()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Ddepthwiseconv_uint8_transitional.h1017 int8 tmp_data[16];
1033 memcpy(tmp_data + 1, input_block_data + input_block_offset, 15);
1035 tmp_data[i] += -kSymmetricZeroPoint;
1037 tmp_data[0] = -input_offset_difference;
1038 memcpy(scratch_data, tmp_data, 16);
1044 memcpy(tmp_data, input_block_data + input_block_offset + copy_done,
1047 tmp_data[i] += -kSymmetricZeroPoint;
1050 memcpy(&scratch_data[start_width + copy_done], tmp_data, 16);
1064 memcpy(tmp_data,
1070 tmp_data[i] = tmp_data[(16 - copy_remaining) + i];
[all …]
/external/libopus/src/
Dopus_multistream_encoder.c823 unsigned char tmp_data[MS_FRAME_TMP]; in opus_multistream_encode_native() local
986 len = opus_encode_native(enc, buf, frame_size, tmp_data, curr_max, lsb_depth, in opus_multistream_encode_native()
996 ret = opus_repacketizer_cat(&rp, tmp_data, len); in opus_multistream_encode_native()
Dopus_encoder.c932 VARDECL(unsigned char, tmp_data); in encode_multiframe_packet()
955 ALLOC(tmp_data, nb_frames*bytes_per_frame, unsigned char); in encode_multiframe_packet()
983 tmp_data+i*bytes_per_frame, bytes_per_frame, lsb_depth, NULL, 0, 0, 0, 0, in encode_multiframe_packet()
992 ret = opus_repacketizer_cat(rp, tmp_data+i*bytes_per_frame, tmp_len); in encode_multiframe_packet()
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c1057 struct anv_state tmp_data = in anv_CmdUpdateBuffer() local
1060 memcpy(tmp_data.map, pData, copy_size); in anv_CmdUpdateBuffer()
1064 .offset = tmp_data.offset, in anv_CmdUpdateBuffer()
/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c1337 mpd_uint_t tmp_data[2]; in _mpd_qget_uint() local
1364 tmp.data = tmp_data; in _mpd_qget_uint()
1447 tmp_data[0] = 709551615; in _c32_qget_u64()
1448 tmp_data[1] = 446744073; in _c32_qget_u64()
1449 tmp_data[2] = 18; in _c32_qget_u64()
1483 ret += (uint64_t)tmp_data[2] * 1000000000000000000ULL; in _c32_qget_u64()
1485 ret += (uint64_t)tmp_data[1] * 1000000000ULL; in _c32_qget_u64()
1487 ret += tmp_data[0]; in _c32_qget_u64()
/external/libaom/libaom/av1/encoder/
Dtx_search.c1235 int16_t tmp_data[64 * 64]; in get_intra_txb_hash() local
1243 int16_t *cur_hash_row = tmp_data; in get_intra_txb_hash()
1249 hash_data = (uint8_t *)tmp_data; in get_intra_txb_hash()