Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 7371) sorted by relevance

12345678910>>...295

/external/tensorflow/tensorflow/lite/kernels/internal/
Dtranspose_utils_test.cc27 TransposeParams params; in TEST() local
28 params.perm_count = 1; in TEST()
29 params.perm[0] = 0; in TEST()
32 &params); in TEST()
37 EXPECT_EQ(params.perm_count, 1); in TEST()
38 EXPECT_EQ(params.perm[0], 0); in TEST()
45 TransposeParams params; in TEST() local
46 params.perm_count = 2; in TEST()
47 params.perm[0] = 1; in TEST()
48 params.perm[1] = 0; in TEST()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.cpp154 const DebugUtilsLabelParams *params = in executeCommands() local
156 const char *pLabelName = Offset<char>(params, sizeof(DebugUtilsLabelParams)); in executeCommands()
161 {params->color[0], params->color[1], params->color[2], params->color[3]}}; in executeCommands()
168 const BeginQueryParams *params = getParamPtr<BeginQueryParams>(currentCommand); in executeCommands() local
169 vkCmdBeginQuery(cmdBuffer, params->queryPool, params->query, params->flags); in executeCommands()
174 const BeginTransformFeedbackParams *params = in executeCommands() local
177 Offset<VkBuffer>(params, sizeof(BeginTransformFeedbackParams)); in executeCommands()
182 vkCmdBeginTransformFeedbackEXT(cmdBuffer, 0, params->bufferCount, in executeCommands()
188 const BindPipelineParams *params = in executeCommands() local
190 vkCmdBindPipeline(cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, params->pipeline); in executeCommands()
[all …]
/external/gemmlowp/meta/
Dtransform_kernels_arm_32.h28 const int32_t* input, const Requantize& params, uint8_t* output) { in Transform() argument
37 int params_count_copy = params.count; in Transform()
92 : [input_range_min] "r"(params.input_range_min), in Transform()
93 [output_range_min] "r"(params.output_range_min), in Transform()
94 [input_range_offset] "r"(params.input_range_offset), in Transform()
95 [one_over_output_range_scale] "r"(params.one_over_output_range_scale), in Transform()
96 [input_range_scale] "r"(params.input_range_scale) in Transform()
103 const int32_t* input, const Requantize& params, uint8_t* output) { in Transform() argument
112 int params_count_copy = params.count; in Transform()
189 : [input_range_min] "r"(params.input_range_min), in Transform()
[all …]
Dtransform_kernels_arm_64.h28 const int32_t* input, const Requantize& params, uint8_t* output) { in Transform() argument
37 int params_count_copy = params.count; in Transform()
91 : [input_range_min] "r"(params.input_range_min), in Transform()
92 [output_range_min] "r"(params.output_range_min), in Transform()
93 [input_range_offset] "r"(params.input_range_offset), in Transform()
94 [one_over_output_range_scale] "r"(params.one_over_output_range_scale), in Transform()
95 [input_range_scale] "r"(params.input_range_scale) in Transform()
101 const int32_t* input, const Requantize& params, uint8_t* output) { in Transform() argument
110 int params_count_copy = params.count; in Transform()
186 : [input_range_min] "r"(params.input_range_min), in Transform()
[all …]
Dstreams_arm_64.h28 const uint8_t* in, const RowMajorWithSum& params, uint8_t* out) { in Pack() argument
37 int params_count_copy = params.count; in Pack()
61 : [stride] "r"(params.stride), in Pack()
62 [multiplicative_sum_offset] "r"(params.multiplicative_sum_offset), in Pack()
63 [additive_sum_offset] "r"(params.additive_sum_offset) in Pack()
69 const uint8_t* in, const RowMajorWithSum& params, uint8_t* out) { in Pack() argument
78 int params_count_copy = params.count; in Pack()
114 : [stride] "r"(params.stride), in Pack()
115 [multiplicative_sum_offset] "r"(params.multiplicative_sum_offset), in Pack()
116 [additive_sum_offset] "r"(params.additive_sum_offset) in Pack()
[all …]
Dstreams_arm_32.h28 const uint8_t* in, const RowMajorWithSum& params, uint8_t* out) { in Pack() argument
37 int params_count_copy = params.count; in Pack()
61 : [stride] "r"(params.stride), in Pack()
62 [multiplicative_sum_offset] "r"(params.multiplicative_sum_offset), in Pack()
63 [additive_sum_offset] "r"(params.additive_sum_offset) in Pack()
69 const uint8_t* in, const RowMajorWithSum& params, uint8_t* out) { in Pack() argument
78 int params_count_copy = params.count; in Pack()
114 : [stride] "r"(params.stride), in Pack()
115 [multiplicative_sum_offset] "r"(params.multiplicative_sum_offset), in Pack()
116 [additive_sum_offset] "r"(params.additive_sum_offset) in Pack()
[all …]
Dlegacy_single_thread_gemm.h43 Params params; in gemm_q8_strided() local
45 params.m = m; in gemm_q8_strided()
46 params.n = n; in gemm_q8_strided()
47 params.k = k; in gemm_q8_strided()
49 params.lhs = lhs; in gemm_q8_strided()
50 params.rhs = rhs; in gemm_q8_strided()
51 params.result = result; in gemm_q8_strided()
52 params.scratch = scratch; in gemm_q8_strided()
54 params.left_stream.count = k; in gemm_q8_strided()
55 params.left_stream.stride = k; in gemm_q8_strided()
[all …]
Dquantized_mul_kernels_arm_64.h31 RowMajor>& params, in Multiply() argument
91 : [count] "r"(params.kernel.count), in Multiply()
92 [multiplicative_offset] "r"(params.kernel.multiplicative_offset), in Multiply()
93 [shift] "r"(params.kernel.shift), in Multiply()
94 [stride] "r"(params.output_stream.stride), in Multiply()
95 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
104 RowMajor>& params, in Multiply() argument
167 : [count] "r"(params.kernel.count), in Multiply()
168 [multiplicative_offset] "r"(params.kernel.multiplicative_offset), in Multiply()
169 [shift] "r"(params.kernel.shift), in Multiply()
[all …]
Dquantized_mul_kernels_arm_32.h31 RowMajor>& params, in Multiply() argument
91 : [count] "r"(params.kernel.count), in Multiply()
92 [multiplicative_offset] "r"(params.kernel.multiplicative_offset), in Multiply()
93 [shift] "r"(params.kernel.shift), in Multiply()
94 [stride] "r"(params.output_stream.stride), in Multiply()
95 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
105 RowMajor>& params, in Multiply() argument
169 : [count] "r"(params.kernel.count), in Multiply()
170 [multiplicative_offset] "r"(params.kernel.multiplicative_offset), in Multiply()
171 [shift] "r"(params.kernel.shift), in Multiply()
[all …]
/external/XNNPACK/src/xnnpack/
Dparams-init.h53 union xnn_qu8_gemm_params params; in xnn_init_scalar_qu8_gemm_params() local
54 params.scalar.kernel_zero_point = (int32_t) (uint32_t) kernel_zero_point; in xnn_init_scalar_qu8_gemm_params()
55 params.scalar.multiplier = multiplier; in xnn_init_scalar_qu8_gemm_params()
56 params.scalar.remainder_mask = (int32_t) remainder_mask; in xnn_init_scalar_qu8_gemm_params()
57 params.scalar.remainder_threshold = (int32_t) remainder_threshold; in xnn_init_scalar_qu8_gemm_params()
58 params.scalar.shift = (uint32_t) shift; in xnn_init_scalar_qu8_gemm_params()
59 params.scalar.output_min_less_zero_point = in xnn_init_scalar_qu8_gemm_params()
61 params.scalar.output_max_less_zero_point = in xnn_init_scalar_qu8_gemm_params()
63 params.scalar.output_zero_point = (int32_t) (uint32_t) output_zero_point; in xnn_init_scalar_qu8_gemm_params()
64 return params; in xnn_init_scalar_qu8_gemm_params()
[all …]
/external/angle/src/libANGLE/capture/
Dframe_capture_replay_autogen.cpp27 const ParamBuffer &params = call.params; in ReplayCall() local
32 params.getParam("pipelinePacked", ParamType::TProgramPipelineID, 0) in ReplayCall()
34 params.getParam("programPacked", ParamType::TShaderProgramID, 1) in ReplayCall()
39 params.getParam("texture", ParamType::TGLenum, 0).value.GLenumVal); in ReplayCall()
43 params.getParam("funcPacked", ParamType::TAlphaTestFunc, 0).value.AlphaTestFuncVal, in ReplayCall()
44 params.getParam("ref", ParamType::TGLfloat, 1).value.GLfloatVal); in ReplayCall()
48 params.getParam("funcPacked", ParamType::TAlphaTestFunc, 0).value.AlphaTestFuncVal, in ReplayCall()
49 params.getParam("ref", ParamType::TGLfixed, 1).value.GLfixedVal); in ReplayCall()
52 context->attachShader(params.getParam("programPacked", ParamType::TShaderProgramID, 0) in ReplayCall()
54 params.getParam("shaderPacked", ParamType::TShaderProgramID, 1) in ReplayCall()
[all …]
/external/openssh/
Dxmss_wots.c38 wots_set_params(wots_params *params, int n, int w) in wots_set_params() argument
40 params->n = n; in wots_set_params()
41 params->w = w; in wots_set_params()
42 params->log_w = wots_log2(params->w); in wots_set_params()
43 params->len_1 = (CHAR_BIT * n) / params->log_w; in wots_set_params()
44 params->len_2 = (wots_log2(params->len_1 * (w - 1)) / params->log_w) + 1; in wots_set_params()
45 params->len = params->len_1 + params->len_2; in wots_set_params()
46 params->keysize = params->len * params->n; in wots_set_params()
54 …c void expand_seed(unsigned char *outseeds, const unsigned char *inseed, const wots_params *params) in expand_seed() argument
58 for(i = 0; i < params->len; i++){ in expand_seed()
[all …]
/external/vboot_reference/cgpt/
Dcgpt_add.c15 static const char* DumpCgptAddParams(const CgptAddParams *params) { in DumpCgptAddParams() argument
20 snprintf(tmp, sizeof(tmp), "-i %d ", params->partition); in DumpCgptAddParams()
22 if (params->label) { in DumpCgptAddParams()
23 snprintf(tmp, sizeof(tmp), "-l %s ", params->label); in DumpCgptAddParams()
26 if (params->set_begin) { in DumpCgptAddParams()
27 snprintf(tmp, sizeof(tmp), "-b %llu ", (unsigned long long)params->begin); in DumpCgptAddParams()
30 if (params->set_size) { in DumpCgptAddParams()
31 snprintf(tmp, sizeof(tmp), "-s %llu ", (unsigned long long)params->size); in DumpCgptAddParams()
34 if (params->set_type) { in DumpCgptAddParams()
35 GuidToStr(&params->type_guid, tmp, sizeof(tmp)); in DumpCgptAddParams()
[all …]
/external/brotli/c/enc/
Dquality.h47 static BROTLI_INLINE size_t MaxZopfliLen(const BrotliEncoderParams* params) { in MaxZopfliLen() argument
48 return params->quality <= 10 ? in MaxZopfliLen()
55 const BrotliEncoderParams* params) { in MaxZopfliCandidates() argument
56 return params->quality <= 10 ? 1 : 5; in MaxZopfliCandidates()
59 static BROTLI_INLINE void SanitizeParams(BrotliEncoderParams* params) { in SanitizeParams() argument
60 params->quality = BROTLI_MIN(int, BROTLI_MAX_QUALITY, in SanitizeParams()
61 BROTLI_MAX(int, BROTLI_MIN_QUALITY, params->quality)); in SanitizeParams()
62 if (params->quality <= MAX_QUALITY_FOR_STATIC_ENTROPY_CODES) { in SanitizeParams()
63 params->large_window = BROTLI_FALSE; in SanitizeParams()
65 if (params->lgwin < BROTLI_MIN_WINDOW_BITS) { in SanitizeParams()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Dconv_metal.cc67 std::string GlobalIdsGen(const GlobalIdsParams& params) { in GlobalIdsGen() argument
70 launch_remap[params.launch_order.x] = 0; in GlobalIdsGen()
71 launch_remap[params.launch_order.y] = 1; in GlobalIdsGen()
72 launch_remap[params.launch_order.z] = 2; in GlobalIdsGen()
73 if (params.linear_whs) { in GlobalIdsGen()
74 c += " int linear_whs = " + params.global_ids[0] + ";\n"; in GlobalIdsGen()
75 c += " int Z = (linear_whs / " + params.task_size_wh + ") * " + in GlobalIdsGen()
76 std::to_string(params.block_size.z) + ";\n"; in GlobalIdsGen()
77 c += " int linear_wh = linear_whs % " + params.task_size_wh + ";\n"; in GlobalIdsGen()
78 c += " int Y = (linear_wh / " + params.task_size_w + ") * " + in GlobalIdsGen()
[all …]
/external/mesa3d/src/intel/blorp/
Dblorp_clear.c48 struct blorp_params *params, in blorp_params_get_clear_kernel() argument
61 &params->wm_prog_kernel, &params->wm_prog_data)) in blorp_params_get_clear_kernel()
108 &params->wm_prog_kernel, &params->wm_prog_data); in blorp_params_get_clear_kernel()
130 struct blorp_params *params) in blorp_params_get_layer_offset_vs() argument
137 if (params->wm_prog_data) in blorp_params_get_layer_offset_vs()
138 blorp_key.num_inputs = params->wm_prog_data->num_varying_inputs; in blorp_params_get_layer_offset_vs()
141 &params->vs_prog_kernel, &params->vs_prog_data)) in blorp_params_get_layer_offset_vs()
202 &params->vs_prog_kernel, &params->vs_prog_data); in blorp_params_get_layer_offset_vs()
344 struct blorp_params params; in blorp_fast_clear() local
345 blorp_params_init(&params); in blorp_fast_clear()
[all …]
/external/angle/src/tests/perf_tests/
DTextureUploadPerf.cpp46 std::ostream &operator<<(std::ostream &os, const TextureUploadParams &params) in operator <<() argument
48 os << params.backendAndStory().substr(1); in operator <<()
97 const auto &params = GetParam(); in initializeBenchmark() local
98 glTexStorage2DEXT(GL_TEXTURE_2D, 1, GL_RGBA8, params.baseSize, params.baseSize); in initializeBenchmark()
121 const auto &params = GetParam(); in initializeBenchmark() local
123 glTexStorage2DEXT(GL_TEXTURE_2D, 1, GL_RGBA8, params.baseSize, params.baseSize); in initializeBenchmark()
127 glBufferData(GL_PIXEL_UNPACK_BUFFER, params.baseSize * params.baseSize * 4, in initializeBenchmark()
152 const auto &params = GetParam(); in initializeBenchmark() local
154 glTexStorage2DEXT(GL_TEXTURE_2D, 1, GL_COMPRESSED_RGB8_ETC2, params.baseSize, in initializeBenchmark()
155 params.baseSize); in initializeBenchmark()
[all …]
/external/deqp/modules/gles3/functional/
Des3fRandomShaderTests.cpp41 rsg::ProgramParameters params = baseParams; in createRandomShaderCase() local
43 params.version = rsg::VERSION_300; in createRandomShaderCase()
44 params.seed = seed; in createRandomShaderCase()
45 params.vertexParameters.randomize = vertex; in createRandomShaderCase()
46 params.fragmentParameters.randomize = fragment; in createRandomShaderCase()
48 …ext.getTestContext(), context.getRenderContext(), de::toString(seed).c_str(), description, params); in createRandomShaderCase()
61 rsg::ProgramParameters params; in init() local
74 …eRandomShaderCase(m_context, "Random expressions in vertex shader", params, seed, true, false… in init()
75 …eRandomShaderCase(m_context, "Random expressions in fragment shader", params, seed, false, true… in init()
76 …aderCase(m_context, "Random expressions in vertex and fragment shaders", params, seed, true, true)… in init()
[all …]
/external/deqp/modules/gles2/functional/
Des2fRandomShaderTests.cpp40 rsg::ProgramParameters params = baseParams; in createRandomShaderCase() local
42 params.seed = seed; in createRandomShaderCase()
43 params.vertexParameters.randomize = vertex; in createRandomShaderCase()
44 params.fragmentParameters.randomize = fragment; in createRandomShaderCase()
46 …ext.getTestContext(), context.getRenderContext(), de::toString(seed).c_str(), description, params); in createRandomShaderCase()
59 rsg::ProgramParameters params; in init() local
72 …eRandomShaderCase(m_context, "Random expressions in vertex shader", params, seed, true, false… in init()
73 …eRandomShaderCase(m_context, "Random expressions in fragment shader", params, seed, false, true… in init()
74 …aderCase(m_context, "Random expressions in vertex and fragment shaders", params, seed, true, true)… in init()
89 rsg::ProgramParameters params; in init() local
[all …]
/external/tensorflow/tensorflow/lite/core/api/
Dflatbuffer_conversions.cc481 auto params = safe_allocator.Allocate<TfLiteLSHProjectionParams>(); in ParseOpDataTfLite() local
482 TF_LITE_ENSURE(error_reporter, params != nullptr); in ParseOpDataTfLite()
485 params->type = parseLSHProjectionType(lshParams->type()); in ParseOpDataTfLite()
487 *builtin_data = params.release(); in ParseOpDataTfLite()
491 auto params = safe_allocator.Allocate<TfLiteSequenceRNNParams>(); in ParseOpDataTfLite() local
492 TF_LITE_ENSURE(error_reporter, params != nullptr); in ParseOpDataTfLite()
495 params->activation = in ParseOpDataTfLite()
497 params->time_major = sequence_rnn_params->time_major(); in ParseOpDataTfLite()
498 params->asymmetric_quantize_inputs = in ParseOpDataTfLite()
501 *builtin_data = params.release(); in ParseOpDataTfLite()
[all …]
/external/angle/src/tests/gl_tests/
DProgramInterfaceTest.cpp26 const ProgramInterfaceTestParams &params = paramsInfo.param; in ProgramInterfaceTestPrint() local
29 out << std::get<0>(params); in ProgramInterfaceTestPrint()
31 if (std::get<1>(params)) in ProgramInterfaceTestPrint()
283 GLint params[ArraySize(props)]; in TEST_P() local
287 params); in TEST_P()
290 EXPECT_EQ(GL_FLOAT_VEC4, params[0]); // type in TEST_P()
291 EXPECT_EQ(1, params[1]); // array_size in TEST_P()
292 EXPECT_EQ(3, params[2]); // location in TEST_P()
293 EXPECT_EQ(9, params[3]); // name_length in TEST_P()
294 EXPECT_EQ(1, params[4]); // referenced_by_vertex_shader in TEST_P()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dtsserver.go81 var params DidChangeWorkspaceFoldersParams
82 if err := json.Unmarshal(*r.Params, &params); err != nil {
86 if err := h.server.DidChangeWorkspaceFolders(ctx, &params); err != nil {
91 var params InitializedParams
92 if err := json.Unmarshal(*r.Params, &params); err != nil {
96 if err := h.server.Initialized(ctx, &params); err != nil {
106 var params DidChangeConfigurationParams
107 if err := json.Unmarshal(*r.Params, &params); err != nil {
111 if err := h.server.DidChangeConfiguration(ctx, &params); err != nil {
116 var params DidOpenTextDocumentParams
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/lsp/protocol/
Dtsserver.go81 var params DidChangeWorkspaceFoldersParams
82 if err := json.Unmarshal(*r.Params, &params); err != nil {
86 if err := h.server.DidChangeWorkspaceFolders(ctx, &params); err != nil {
91 var params InitializedParams
92 if err := json.Unmarshal(*r.Params, &params); err != nil {
96 if err := h.server.Initialized(ctx, &params); err != nil {
106 var params DidChangeConfigurationParams
107 if err := json.Unmarshal(*r.Params, &params); err != nil {
111 if err := h.server.DidChangeConfiguration(ctx, &params); err != nil {
116 var params DidOpenTextDocumentParams
[all …]
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dtsserver.go81 var params DidChangeWorkspaceFoldersParams
82 if err := json.Unmarshal(*r.Params, &params); err != nil {
86 if err := h.server.DidChangeWorkspaceFolders(ctx, &params); err != nil {
91 var params InitializedParams
92 if err := json.Unmarshal(*r.Params, &params); err != nil {
96 if err := h.server.Initialized(ctx, &params); err != nil {
106 var params DidChangeConfigurationParams
107 if err := json.Unmarshal(*r.Params, &params); err != nil {
111 if err := h.server.DidChangeConfiguration(ctx, &params); err != nil {
116 var params DidOpenTextDocumentParams
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dadd.h35 inline void AddElementwise(int size, const ArithmeticParams& params, in AddElementwise() argument
40 TFLITE_DCHECK_GT(params.input1_offset, -256); in AddElementwise()
41 TFLITE_DCHECK_GT(params.input2_offset, -256); in AddElementwise()
42 TFLITE_DCHECK_LT(params.input1_offset, 256); in AddElementwise()
43 TFLITE_DCHECK_LT(params.input2_offset, 256); in AddElementwise()
47 vdupq_n_s8(params.quantized_activation_min); in AddElementwise()
49 vdupq_n_s8(params.quantized_activation_max); in AddElementwise()
51 const int input1_left_shift = params.left_shift + params.input1_shift; in AddElementwise()
52 const int input2_left_shift = params.left_shift + params.input2_shift; in AddElementwise()
56 const int16x8_t input1_offset_dup = vdupq_n_s16(params.input1_offset); in AddElementwise()
[all …]

12345678910>>...295