/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/ |
D | tf_arithmetic_parser.cc | 54 std::vector<std::string> *inputs, int *output_size) { in Parse() argument 57 *output_size = 1; in Parse() 68 std::vector<std::string> *inputs, int *output_size) { in Parse() argument 71 *output_size = 1; in Parse() 82 std::vector<std::string> *inputs, int *output_size) { in Parse() argument 85 *output_size = 1; in Parse() 96 std::vector<std::string> *inputs, int *output_size) { in Parse() argument 99 *output_size = 1; in Parse() 110 std::vector<std::string> *inputs, int *output_size) { in Parse() argument 113 *output_size = 1; in Parse() [all …]
|
D | tf_arithmetic_parser.h | 34 std::vector<std::string> *inputs, int *output_size) override; 44 std::vector<std::string> *inputs, int *output_size) override; 54 std::vector<std::string> *inputs, int *output_size) override; 64 std::vector<std::string> *inputs, int *output_size) override; 74 std::vector<std::string> *inputs, int *output_size) override; 84 std::vector<std::string> *inputs, int *output_size) override; 94 std::vector<std::string> *inputs, int *output_size) override; 104 std::vector<std::string> *inputs, int *output_size) override; 114 std::vector<std::string> *inputs, int *output_size) override; 124 std::vector<std::string> *inputs, int *output_size) override; [all …]
|
D | tf_logical_parser.cc | 30 std::vector<std::string> *inputs, int *output_size) { in Parse() argument 33 *output_size = 1; in Parse() 43 std::vector<std::string> *inputs, int *output_size) { in Parse() argument 46 *output_size = 1; in Parse() 56 std::vector<std::string> *inputs, int *output_size) { in Parse() argument 59 *output_size = 1; in Parse()
|
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32/ |
D | resize_bilinear_fp32_tests.cc | 86 auto output_size = 1; in TEST_F() local 92 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 103 int output_size = 1; in TEST_F() local 109 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 120 auto output_size = 2; in TEST_F() local 126 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 137 auto output_size = 2; in TEST_F() local 143 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 154 auto output_size = 4; in TEST_F() local 160 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() [all …]
|
D | resize_nearest_neighbor_fp32_tests.cc | 80 size_t output_size = 1; in TEST_F() local 87 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 97 size_t output_size = 1; in TEST_F() local 104 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 114 size_t output_size = 2; in TEST_F() local 121 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 131 size_t output_size = 2; in TEST_F() local 138 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 148 size_t output_size = 4; in TEST_F() local 155 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() [all …]
|
D | reduce_fp32_tests.cc | 122 int output_size = 24; in TEST_F() local 123 ASSERT_EQ(0, CompareOutputData(out, correct, output_size, err_tol)); in TEST_F() 149 int output_size = 2; in TEST_F() local 150 ASSERT_EQ(0, CompareOutputData(out, correct, output_size, err_tol)); in TEST_F() 177 int output_size = 2; in TEST_F() local 178 ASSERT_EQ(0, CompareOutputData(out, correct, output_size, err_tol)); in TEST_F() 203 int output_size = 1; in TEST_F() local 204 ASSERT_EQ(0, CompareOutputData(out, correct, output_size, err_tol)); in TEST_F() 230 int output_size = 24; in TEST_F() local 231 ASSERT_EQ(0, CompareOutputData(out, correct, output_size, err_tol)); in TEST_F() [all …]
|
D | l2norm_fp32_test.cc | 88 auto output_size = 18; in TEST_F() local 96 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol_)); in TEST_F() 109 auto output_size = 18; in TEST_F() local 117 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol_)); in TEST_F() 130 auto output_size = 18; in TEST_F() local 138 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol_)); in TEST_F() 151 auto output_size = 18; in TEST_F() local 159 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol_)); in TEST_F()
|
/third_party/mbedtls/tests/src/drivers/ |
D | test_driver_cipher.c | 52 size_t output_size, in mbedtls_test_transparent_cipher_encrypt() argument 59 if( output_size < mbedtls_test_driver_cipher_hooks.forced_output_length ) in mbedtls_test_transparent_cipher_encrypt() 79 output, output_size, output_length ) ); in mbedtls_test_transparent_cipher_encrypt() 84 output, output_size, output_length ) ); in mbedtls_test_transparent_cipher_encrypt() 98 size_t output_size, in mbedtls_test_transparent_cipher_decrypt() argument 105 if( output_size < mbedtls_test_driver_cipher_hooks.forced_output_length ) in mbedtls_test_transparent_cipher_decrypt() 125 output, output_size, output_length ) ); in mbedtls_test_transparent_cipher_decrypt() 130 output, output_size, output_length ) ); in mbedtls_test_transparent_cipher_decrypt() 239 size_t output_size, in mbedtls_test_transparent_cipher_update() argument 246 if( output_size < mbedtls_test_driver_cipher_hooks.forced_output_length ) in mbedtls_test_transparent_cipher_update() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | scatter_nd.cu | 23 … const size_t output_size, const size_t indices_dim_0, const size_t indices_dim_1, in ScatterNdKernel() argument 41 out_bound |= write_index >= output_size; in ScatterNdKernel() 51 …const size_t &output_size, const size_t &indices_dim_0, const size_t &indices_dim_1, S *indices_st… in ScatterNd() argument 53 …ScatterNdKernel<<<GET_BLOCKS(output_size), GET_THREADS, 0, stream>>>(indices, update, output, bloc… in ScatterNd() 54 … output_size, indices_dim_0, indices_dim_1, in ScatterNd() 60 … const size_t &input_size, const size_t &output_size, const size_t &indices_dim_0, 64 const size_t &input_size, const size_t &output_size, 68 … const size_t &input_size, const size_t &output_size, const size_t &indices_dim_0, 72 const size_t &input_size, const size_t &output_size, 76 … const size_t &input_size, const size_t &output_size, const size_t &indices_dim_0, [all …]
|
D | tile_impl.cu | 20 __global__ void Tile(const size_t output_size, const size_t input_size, const size_t shape_size, in Tile() argument 27 …for (size_t pos = blockIdx.x * blockDim.x + threadIdx.x; pos < output_size; pos += blockDim.x * gr… in Tile() 29 size_t pos_size = output_size / output_shape[0]; in Tile() 50 void CalTile(const size_t output_size, const size_t input_size, const size_t shape_size, const size… in CalTile() argument 52 …Tile<<<GET_BLOCKS(output_size), GET_THREADS, 0, cuda_stream>>>(output_size, input_size, shape_size… in CalTile() 57 template void CalTile<double>(const size_t output_size, const size_t input_size, const size_t shape… 60 template void CalTile<float>(const size_t output_size, const size_t input_size, const size_t shape_… 63 template void CalTile<half>(const size_t output_size, const size_t input_size, const size_t shape_s… 66 template void CalTile<int16_t>(const size_t output_size, const size_t input_size, const size_t shap… 69 template void CalTile<int>(const size_t output_size, const size_t input_size, const size_t shape_si… [all …]
|
D | tensor_scatter_min.cu | 23 … const size_t input_size, const size_t output_size, const size_t indices_dim_0, in TensorScatterMinKernel() argument 41 out_bound |= write_index >= output_size; in TensorScatterMinKernel() 51 … const size_t &output_size, const size_t &indices_dim_0, const size_t &indices_dim_1, in TensorScatterMin() argument 53 TensorScatterMinKernel<<<GET_BLOCKS(output_size), GET_THREADS, 0, stream>>>( in TensorScatterMin() 54 …input, indices, update, output, block_size, input_size, output_size, indices_dim_0, indices_dim_1,… in TensorScatterMin() 62 const size_t &output_size, const size_t &indices_dim_0, 68 const size_t &output_size, const size_t &indices_dim_0, 74 const size_t &output_size, const size_t &indices_dim_0, 80 … const size_t &input_size, const size_t &output_size, 86 const size_t &output_size, const size_t &indices_dim_0, [all …]
|
D | tensor_scatter_max.cu | 23 … const size_t input_size, const size_t output_size, const size_t indices_dim_0, in TensorScatterMaxKernel() argument 41 out_bound |= write_index >= output_size; in TensorScatterMaxKernel() 51 … const size_t &output_size, const size_t &indices_dim_0, const size_t &indices_dim_1, in TensorScatterMax() argument 53 TensorScatterMaxKernel<<<GET_BLOCKS(output_size), GET_THREADS, 0, stream>>>( in TensorScatterMax() 54 …input, indices, update, output, block_size, input_size, output_size, indices_dim_0, indices_dim_1,… in TensorScatterMax() 61 … const size_t &block_size, const size_t &input_size, const size_t &output_size, 67 const size_t &output_size, const size_t &indices_dim_0, 72 … const size_t &block_size, const size_t &input_size, const size_t &output_size, 78 … const size_t &input_size, const size_t &output_size, 83 const size_t &input_size, const size_t &output_size, [all …]
|
D | tensor_scatter_sub.cu | 23 … const size_t input_size, const size_t output_size, const size_t indices_dim_0, in TensorScatterSubKernel() argument 41 out_bound |= write_index >= output_size; in TensorScatterSubKernel() 51 … const size_t &output_size, const size_t &indices_dim_0, const size_t &indices_dim_1, in TensorScatterSub() argument 53 TensorScatterSubKernel<<<GET_BLOCKS(output_size), GET_THREADS, 0, stream>>>( in TensorScatterSub() 54 …input, indices, update, output, block_size, input_size, output_size, indices_dim_0, indices_dim_1,… in TensorScatterSub() 61 … const size_t &block_size, const size_t &input_size, const size_t &output_size, 67 const size_t &output_size, const size_t &indices_dim_0, 72 … const size_t &block_size, const size_t &input_size, const size_t &output_size, 78 … const size_t &input_size, const size_t &output_size, 83 const size_t &input_size, const size_t &output_size, [all …]
|
D | tensor_scatter_update.cu | 23 … const size_t input_size, const size_t output_size, const size_t indices_dim_0, in TensorScatterUpdateKernel() argument 41 out_bound |= write_index >= output_size; in TensorScatterUpdateKernel() 51 … const size_t &output_size, const size_t &indices_dim_0, const size_t &indices_dim_1, in TensorScatterUpdate() argument 53 TensorScatterUpdateKernel<<<GET_BLOCKS(output_size), GET_THREADS, 0, stream>>>( in TensorScatterUpdate() 54 …input, indices, update, output, block_size, input_size, output_size, indices_dim_0, indices_dim_1,… in TensorScatterUpdate() 61 const size_t &output_size, const size_t &indices_dim_0, 66 … const size_t &output_size, const size_t &indices_dim_0, 71 … const size_t &output_size, const size_t &indices_dim_0, 76 const size_t &output_size, const size_t &indices_dim_0, 81 … const size_t &input_size, const size_t &output_size, [all …]
|
D | tensor_scatter_add.cu | 23 … const size_t input_size, const size_t output_size, const size_t indices_dim_0, in TensorScatterAddKernel() argument 41 out_bound |= write_index >= output_size; in TensorScatterAddKernel() 51 … const size_t &output_size, const size_t &indices_dim_0, const size_t &indices_dim_1, in TensorScatterAdd() argument 53 TensorScatterAddKernel<<<GET_BLOCKS(output_size), GET_THREADS, 0, stream>>>( in TensorScatterAdd() 54 …input, indices, update, output, block_size, input_size, output_size, indices_dim_0, indices_dim_1,… in TensorScatterAdd() 60 … const size_t &block_size, const size_t &input_size, const size_t &output_size, 65 const size_t &output_size, const size_t &indices_dim_0, 70 const size_t &output_size, const size_t &indices_dim_0, 74 … const size_t &block_size, const size_t &input_size, const size_t &output_size, 79 … const size_t &input_size, const size_t &output_size, [all …]
|
D | extract_image_patches_impl.cu | 20 __global__ void ExtractImagePatches(size_t output_size, int64_t stride_row, int64_t stride_col, int… in ExtractImagePatches() argument 26 …for (size_t pos = blockIdx.x * blockDim.x + threadIdx.x; pos < output_size; pos += blockDim.x * gr… in ExtractImagePatches() 60 void CalExtractImagePatchesNHWC(size_t output_size, int64_t stride_row, int64_t stride_col, int64_t… in CalExtractImagePatchesNHWC() argument 66 ExtractImagePatches<<<GET_BLOCKS(output_size), GET_THREADS, 0, stream>>>( in CalExtractImagePatchesNHWC() 67 …output_size, stride_row, stride_col, rate_row, rate_col, output_cols, need_batch, row_stride, patc… in CalExtractImagePatchesNHWC() 72 template void CalExtractImagePatchesNHWC<int>(size_t output_size, int64_t stride_row, int64_t strid… 79 template void CalExtractImagePatchesNHWC<float>(size_t output_size, int64_t stride_row, int64_t str… 87 template void CalExtractImagePatchesNHWC<half>(size_t output_size, int64_t stride_row, int64_t stri… 95 template void CalExtractImagePatchesNHWC<double>(size_t output_size, int64_t stride_row, int64_t st…
|
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/int8/ |
D | reduce_int8_tests.cc | 102 int output_size = 32; in TEST_F() local 112 CompareOutputInt8(output_data, correct, output_size, err_tol_); in TEST_F() 127 int output_size = 1; in TEST_F() local 135 CompareOutputInt8(output_data, correct, output_size, err_tol_); in TEST_F() 150 int output_size = 32; in TEST_F() local 159 CompareOutputInt8(output_data, correct, output_size, err_tol_); in TEST_F() 174 int output_size = 1; in TEST_F() local 181 CompareOutputInt8(output_data, correct, output_size, err_tol_); in TEST_F() 196 int output_size = 32; in TEST_F() local 204 CompareOutputInt8(output_data, correct, output_size, err_tol_); in TEST_F() [all …]
|
D | arithmetic_self_int8_tests.cc | 38 const int output_size = 12; in TEST_F() local 83 PrintData("output data", output, output_size); in TEST_F() 85 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 101 const int output_size = 12; in TEST_F() local 146 PrintData("output data", output, output_size); in TEST_F() 148 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 164 const int output_size = 12; in TEST_F() local 209 PrintData("output data", output, output_size); in TEST_F() 211 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 227 const int output_size = 12; in TEST_F() local [all …]
|
D | crop_int8_tests.cc | 39 const int output_size = 7; in TEST_F() local 88 PrintData("output data", output, output_size); in TEST_F() 90 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 106 const int output_size = 14; in TEST_F() local 155 PrintData("output data", output, output_size); in TEST_F() 157 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 173 const int output_size = 2; in TEST_F() local 222 PrintData("output data", output, output_size); in TEST_F() 224 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 241 const int output_size = 14; in TEST_F() local [all …]
|
/third_party/grpc/src/core/lib/compression/ |
D | stream_compression_identity.cc | 35 size_t* output_size, in grpc_stream_compression_pass_through() argument 38 if (output_size) { in grpc_stream_compression_pass_through() 39 *output_size = in->length; in grpc_stream_compression_pass_through() 43 if (output_size) { in grpc_stream_compression_pass_through() 44 *output_size = max_output_size; in grpc_stream_compression_pass_through() 52 grpc_slice_buffer* out, size_t* output_size, size_t max_output_size, in grpc_stream_compress_identity() argument 57 grpc_stream_compression_pass_through(in, out, output_size, max_output_size); in grpc_stream_compress_identity() 63 grpc_slice_buffer* out, size_t* output_size, size_t max_output_size, in grpc_stream_decompress_identity() argument 68 grpc_stream_compression_pass_through(in, out, output_size, max_output_size); in grpc_stream_decompress_identity()
|
/third_party/grpc/test/core/compression/ |
D | stream_compression_test.cc | 76 size_t output_size; in test_stream_compression_simple_compress_decompress() local 77 GPR_ASSERT(grpc_stream_decompress(decompress_ctx, &relay, &sink, &output_size, in test_stream_compression_simple_compress_decompress() 79 GPR_ASSERT(output_size == sizeof(test_str) - 1); in test_stream_compression_simple_compress_decompress() 111 size_t output_size; in test_stream_compression_simple_compress_decompress_with_output_size_constraint() local 113 GPR_ASSERT(grpc_stream_decompress(decompress_ctx, &relay, &sink, &output_size, in test_stream_compression_simple_compress_decompress_with_output_size_constraint() 115 GPR_ASSERT(output_size == max_output_size); in test_stream_compression_simple_compress_decompress_with_output_size_constraint() 124 GPR_ASSERT(grpc_stream_decompress(decompress_ctx, &relay, &sink, &output_size, in test_stream_compression_simple_compress_decompress_with_output_size_constraint() 126 GPR_ASSERT(output_size == remaining_size); in test_stream_compression_simple_compress_decompress_with_output_size_constraint() 159 size_t output_size; in test_stream_compression_simple_compress_decompress_with_large_data() local 160 GPR_ASSERT(grpc_stream_decompress(decompress_ctx, &relay, &sink, &output_size, in test_stream_compression_simple_compress_decompress_with_large_data() [all …]
|
/third_party/boost/boost/nowide/ |
D | convert.hpp | 24 inline char* narrow(char* output, size_t output_size, const wchar_t* begin, const wchar_t* end) in narrow() argument 26 return utf::convert_buffer(output, output_size, begin, end); in narrow() 35 inline char* narrow(char* output, size_t output_size, const wchar_t* source) in narrow() argument 37 return narrow(output, output_size, source, source + utf::strlen(source)); in narrow() 47 inline wchar_t* widen(wchar_t* output, size_t output_size, const char* begin, const char* end) in widen() argument 49 return utf::convert_buffer(output, output_size, begin, end); in widen() 58 inline wchar_t* widen(wchar_t* output, size_t output_size, const char* source) in widen() argument 60 return widen(output, output_size, source, source + utf::strlen(source)); in widen()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opcodes.py | 35 def __init__(self, name, output_size, output_type, input_sizes, argument 68 assert isinstance(output_size, int) 78 assert 0 <= output_size <= 5 or (output_size == 8) or (output_size == 16) 81 if output_size == 0: 83 if output_size != 0: 87 self.output_size = output_size 155 def opcode(name, output_size, output_type, input_sizes, input_types, argument 158 opcodes[name] = Opcode(name, output_size, output_type, input_sizes, 168 def unop_horiz(name, output_size, output_type, input_size, input_type, argument 170 opcode(name, output_size, output_type, [input_size], [input_type], [all …]
|
/third_party/mbedtls/tests/include/test/drivers/ |
D | cipher.h | 58 uint8_t *output, size_t output_size, size_t *output_length); 65 uint8_t *output, size_t output_size, size_t *output_length); 89 uint8_t *output, size_t output_size, size_t *output_length); 93 uint8_t *output, size_t output_size, size_t *output_length); 104 uint8_t *output, size_t output_size, size_t *output_length); 111 uint8_t *output, size_t output_size, size_t *output_length); 135 uint8_t *output, size_t output_size, size_t *output_length); 139 uint8_t *output, size_t output_size, size_t *output_length);
|
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/ |
D | stack_tests.cc | 74 size_t input1_size, input2_size, output_size; in TEST_F() local 80 …ta = reinterpret_cast<float *>(mindspore::lite::ReadFile(correctOutputPath.c_str(), &output_size)); in TEST_F() 93 size_t input1_size, input2_size, output_size; in TEST_F() local 99 …ta = reinterpret_cast<float *>(mindspore::lite::ReadFile(correctOutputPath.c_str(), &output_size)); in TEST_F() 112 size_t input1_size, input2_size, output_size; in TEST_F() local 118 …ta = reinterpret_cast<float *>(mindspore::lite::ReadFile(correctOutputPath.c_str(), &output_size)); in TEST_F() 131 size_t input1_size, input2_size, output_size; in TEST_F() local 137 …ta = reinterpret_cast<float *>(mindspore::lite::ReadFile(correctOutputPath.c_str(), &output_size)); in TEST_F()
|