Home
last modified time | relevance | path

Searched refs:output_range (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dquantization_utils.h257 const float output_range = max_output - min_output; in RequantizeManyInNewRangeReference() local
259 output_range == 0.0 ? 0.0 : (255.0 / output_range); in RequantizeManyInNewRangeReference()
262 output_range == 0.0 ? 0.0 in RequantizeManyInNewRangeReference()
264 input_range / output_range); in RequantizeManyInNewRangeReference()
268 output_range == 0.0 in RequantizeManyInNewRangeReference()
271 output_range); in RequantizeManyInNewRangeReference()
332 const float output_range = max_output - min_output; in RequantizeManyInNewRangeNeon() local
335 output_range == 0.0 ? 0.0 : (255.0 / output_range); in RequantizeManyInNewRangeNeon()
340 output_range == 0.0 ? 0.0 in RequantizeManyInNewRangeNeon()
342 input_range / output_range); in RequantizeManyInNewRangeNeon()
[all …]
Dquantized_add_op.cc494 const float output_range = (biggest_range * (1 << 14)); in Compute() local
495 const float min_z_value = -output_range; in Compute()
496 const float max_z_value = output_range; in Compute()
/external/virglrenderer/src/
Dvrend_shader.c162 struct vrend_io_range output_range; member
171 struct vrend_io_range output_range; member
3637 …struct vrend_shader_io *io = ctx->generic_ios.output_range.used ? &ctx->generic_ios.output_range.i… in get_destination_info()
3641 …struct vrend_shader_io *io = ctx->patch_ios.output_range.used ? &ctx->patch_ios.output_range.io : … in get_destination_info()
4037 …struct vrend_shader_io *io = ctx->generic_ios.output_range.used ? &ctx->generic_ios.output_range.i… in get_source_info()
4040 …struct vrend_shader_io *io = ctx->patch_ios.output_range.used ? &ctx->patch_ios.output_range.io : … in get_source_info()
4434 …if (ctx->outputs[i].sid < ctx->patch_ios.output_range.io.sid || ctx->patch_ios.output_range.used =… in rewrite_io_ranged()
4435 ctx->patch_ios.output_range.io.first = i; in rewrite_io_ranged()
4436 ctx->patch_ios.output_range.io.name = TGSI_SEMANTIC_PATCH; in rewrite_io_ranged()
4437 ctx->patch_ios.output_range.io.sid = ctx->outputs[i].sid; in rewrite_io_ranged()
[all …]
/external/tensorflow/tensorflow/core/grappler/utils/
Dfunctions.cc491 const auto& output_range = el.second; in AsFunctionDefInput() local
492 if (tensor.index() >= output_range.first && in AsFunctionDefInput()
493 tensor.index() < output_range.second) { in AsFunctionDefInput()
495 tensor.index() - output_range.first); in AsFunctionDefInput()