Home
last modified time | relevance | path

Searched refs:data_count (Results 1 – 18 of 18) sorted by relevance

/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/
Donnx_node_parser.cc62 auto data_count = GetOnnxElementNum(onnx_const_tensor, &overflow); in CopyOnnxTensorData() local
69 const void *onnx_data = GetOnnxRawData(onnx_const_tensor, data_type, data_count, &data_size); in CopyOnnxTensorData()
101 auto data_count = GetOnnxElementNum(onnx_tensor, &overflow); in GetTensorDataFromOnnx() local
114 for (size_t i = 0; i < data_count; i++) { in GetTensorDataFromOnnx()
126 for (size_t i = 0; i < data_count; i++) { in GetTensorDataFromOnnx()
138 for (size_t i = 0; i < data_count; i++) { in GetTensorDataFromOnnx()
151 size_t data_count = 1; in GetOnnxElementNum() local
154 …std::for_each(onnx_tensor.dims().begin(), onnx_tensor.dims().end(), [&data_count, &is_overflow](in… in GetOnnxElementNum()
157 data_count = 0; in GetOnnxElementNum()
161 if (INT_MUL_OVERFLOW_THRESHOLD(data_count, udim, SIZE_MAX)) { in GetOnnxElementNum()
[all …]
Donnx_given_tensor_fill_parser.cc32 int data_count = 1; in ParseInt8GivenIntTensorFill() local
34 MS_CHECK_FALSE_MSG(INT_MUL_OVERFLOW(data_count, shape.at(i)), RET_ERROR, "Int mul overflow."); in ParseInt8GivenIntTensorFill()
35 data_count = data_count * shape.at(i); in ParseInt8GivenIntTensorFill()
43 if (INT_MUL_OVERFLOW_THRESHOLD(data_count, sizeof(int64_t), SIZE_MAX)) { in ParseInt8GivenIntTensorFill()
47 size_t data_size = data_count * sizeof(int64_t) / sizeof(uint8_t); in ParseInt8GivenIntTensorFill()
60 int data_count = 1; in ParseInt8GivenTensorFill() local
62 MS_CHECK_FALSE_MSG(INT_MUL_OVERFLOW(data_count, shape.at(i)), RET_ERROR, "Int mul overflow."); in ParseInt8GivenTensorFill()
63 data_count = data_count * shape.at(i); in ParseInt8GivenTensorFill()
71 auto tensor_info = CreateTensorInfo(iter->s().data(), data_count, shape_vector, kNumberTypeUInt8); in ParseInt8GivenTensorFill()
Donnx_node_parser.h62 …id *GetOnnxRawData(const onnx::TensorProto &onnx_const_tensor, TypeId data_type, size_t data_count,
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dvideoanc.c64 fail_unless_equals_int (vanc.data_count, 8); in GST_START_TEST()
96 fail_unless_equals_int (vanc.data_count, 4); in GST_START_TEST()
106 fail_unless_equals_int (vanc.data_count, 8); in GST_START_TEST()
158 fail_unless_equals_int (vanc.data_count, 8); in GST_START_TEST()
191 fail_unless_equals_int (vanc.data_count, 4); in GST_START_TEST()
201 fail_unless_equals_int (vanc.data_count, 8); in GST_START_TEST()
244 fail_unless_equals_int (vanc.data_count, 8); in GST_START_TEST()
262 fail_unless_equals_int (vanc.data_count, 8); in GST_START_TEST()
268 fail_unless_equals_int (vanc.data_count, 4); in GST_START_TEST()
306 fail_unless_equals_int (vanc.data_count, 8); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-anc.c147 anc->data_count = DC; in get_ancillary_16()
158 for (j = 0; j < anc->data_count; j++) in get_ancillary_16()
252 anc->data_count = DC; in get_ancillary_8()
256 for (j = 0; j < anc->data_count; j++) in get_ancillary_8()
709 const guint8 * data, guint data_count) in gst_video_vbi_encoder_add_ancillary() argument
713 g_return_val_if_fail (data_count < 256, FALSE); in gst_video_vbi_encoder_add_ancillary()
716 if (encoder->offset + data_count + (composite ? 5 : 7) > in gst_video_vbi_encoder_add_ancillary()
738 SET_WITH_PARITY (&work_data[i + 2], data_count); in gst_video_vbi_encoder_add_ancillary()
741 for (j = 0; j < data_count; j++) in gst_video_vbi_encoder_add_ancillary()
743 i += data_count; in gst_video_vbi_encoder_add_ancillary()
[all …]
Dvideo-anc.h50 guint8 data_count; member
497 guint data_count);
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dtranspose_cpu_kernel.cc95 size_t data_count = (inputs[0]->size) / sizeof(T); in LaunchKernel() local
96 if (axes_.size() > DIMENSION_6D || data_count >= kMaxTransposeSerialSize) { in LaunchKernel()
97 ParallelRun(input_addr, output_addr, output_shape, data_count); in LaunchKernel()
/third_party/grpc/test/core/util/
Dhistogram.cc128 size_t data_count, double min_seen, in grpc_histogram_merge_contents() argument
132 GPR_ASSERT(dst->num_buckets == data_count); in grpc_histogram_merge_contents()
Dhistogram.h54 const uint32_t* data, size_t data_count,
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/
Dfse_encoder.h47 …int FSEEncode(BitStream *bs, const uint16_t *data, int data_count, uint32_t *frequency, int freque…
Dfse_encoder.cc272 int FSEEncoder::FSEEncode(BitStream *bs, const uint16_t *data, int data_count, uint32_t *frequency,… in FSEEncode() argument
299 for (int i = 0; i < data_count; i++) { in FSEEncode()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dgstvorbistag.c549 guint data_count; member
783 data->data_count += strlen (result); in write_one_tag()
824 required_size += 4 * my_data.count + my_data.data_count; in gst_tag_list_to_vorbiscomment_buffer()
/third_party/ffmpeg/libavcodec/
Dsnow_dwt.h50 int data_count; member
Dsnow_dwt.c37 buf->data_count = max_allocated_lines; in ff_slice_buffer_init()
109 for (i = buf->data_count - 1; i >= 0; i--) in ff_slice_buffer_destroy()
/third_party/gstreamer/gstplugins_bad/sys/decklink/
Dgstdecklinkvideosrc.cpp974 GST_MEMDUMP_OBJECT (self, "CDP", gstanc.data, gstanc.data_count); in extract_vbi_line()
976 GST_VIDEO_CAPTION_TYPE_CEA708_CDP, gstanc.data, gstanc.data_count); in extract_vbi_line()
990 GST_MEMDUMP_OBJECT (self, "CEA608", gstanc.data, gstanc.data_count); in extract_vbi_line()
993 gstanc.data_count); in extract_vbi_line()
1011 GST_MEMDUMP_OBJECT (self, "AFD/Bar", gstanc.data, gstanc.data_count); in extract_vbi_line()
1013 if (gstanc.data_count < 8) { in extract_vbi_line()
/third_party/sqlite/include/
Dsqlite3ext.h91 int (*data_count)(sqlite3_stmt*pStmt); member
426 #define sqlite3_data_count sqlite3_api->data_count
/third_party/mindspore/mindspore/lite/tools/optimizer/common/
Dgllo_utils.cc910 size_t data_count = std::accumulate(shape.begin(), shape.end(), 1, std::multiplies<int>()); in BuildParameterNode() local
926 for (size_t i = 0; i < data_count; ++i) { in BuildParameterNode()
/third_party/sqlite/src/
Dsqlite3.c127862 int (*data_count)(sqlite3_stmt*pStmt);
128193 #define sqlite3_data_count sqlite3_api->data_count