Home
last modified time | relevance | path

Searched refs:max_output_size (Results 1 – 25 of 27) sorted by relevance

12

/external/grpc-grpc/src/core/lib/compression/
Dstream_compression_identity.cc36 size_t max_output_size) { in grpc_stream_compression_pass_through() argument
37 if (max_output_size >= in->length) { in grpc_stream_compression_pass_through()
44 *output_size = max_output_size; in grpc_stream_compression_pass_through()
46 grpc_slice_buffer_move_first(in, max_output_size, out); in grpc_stream_compression_pass_through()
54 size_t max_output_size, in grpc_stream_compress_identity() argument
59 grpc_stream_compression_pass_through(in, out, output_size, max_output_size); in grpc_stream_compress_identity()
65 grpc_slice_buffer* out, size_t* output_size, size_t max_output_size, in grpc_stream_decompress_identity() argument
70 grpc_stream_compression_pass_through(in, out, output_size, max_output_size); in grpc_stream_decompress_identity()
Dstream_compression_gzip.cc39 size_t* output_size, size_t max_output_size, int flush, in gzip_flate() argument
48 size_t original_max_output_size = max_output_size; in gzip_flate()
49 while (max_output_size > 0 && (in->length > 0 || flush) && !eoc) { in gzip_flate()
50 size_t slice_size = max_output_size < OUTPUT_BLOCK_SIZE ? max_output_size in gzip_flate()
125 max_output_size -= (slice_size - ctx->zs.avail_out); in gzip_flate()
132 *output_size = original_max_output_size - max_output_size; in gzip_flate()
141 size_t max_output_size, in grpc_stream_compress_gzip() argument
163 return gzip_flate(gzip_ctx, in, out, output_size, max_output_size, gzip_flush, in grpc_stream_compress_gzip()
171 size_t max_output_size, in grpc_stream_decompress_gzip() argument
179 return gzip_flate(gzip_ctx, in, out, output_size, max_output_size, in grpc_stream_decompress_gzip()
Dstream_compression.h56 size_t max_output_size, grpc_stream_compression_flush flush);
59 size_t* output_size, size_t max_output_size,
81 size_t* output_size, size_t max_output_size,
93 size_t* output_size, size_t max_output_size,
Dstream_compression.cc31 size_t* output_size, size_t max_output_size, in grpc_stream_compress() argument
33 return ctx->vtable->compress(ctx, in, out, output_size, max_output_size, in grpc_stream_compress()
39 size_t* output_size, size_t max_output_size, in grpc_stream_decompress() argument
41 return ctx->vtable->decompress(ctx, in, out, output_size, max_output_size, in grpc_stream_decompress()
/external/tensorflow/tensorflow/core/kernels/
Dnon_max_suppression_op.cc157 const Tensor& max_output_size, const float score_threshold, in DoNonMaxSuppressionOp() argument
160 const int output_size = max_output_size.scalar<int>()(); in DoNonMaxSuppressionOp()
452 const Tensor& max_output_size = context->input(2); in Compute() local
454 context, TensorShapeUtils::IsScalar(max_output_size.shape()), in Compute()
456 max_output_size.shape().DebugString())); in Compute()
470 DoNonMaxSuppressionOp<float>(context, scores, num_boxes, max_output_size, in Compute()
490 const Tensor& max_output_size = context->input(2); in Compute() local
492 context, TensorShapeUtils::IsScalar(max_output_size.shape()), in Compute()
494 max_output_size.shape().DebugString())); in Compute()
514 DoNonMaxSuppressionOp<T>(context, scores, num_boxes, max_output_size, in Compute()
[all …]
Dnon_max_suppression_op.h31 int max_output_size,
/external/grpc-grpc/test/core/compression/
Dstream_compression_test.cc111 size_t max_output_size = 2; in test_stream_compression_simple_compress_decompress_with_output_size_constraint() local
113 max_output_size, &end_of_context)); in test_stream_compression_simple_compress_decompress_with_output_size_constraint()
114 GPR_ASSERT(output_size == max_output_size); in test_stream_compression_simple_compress_decompress_with_output_size_constraint()
118 GPR_ASSERT(GRPC_SLICE_LENGTH(slice_recv) == max_output_size); in test_stream_compression_simple_compress_decompress_with_output_size_constraint()
119 GPR_ASSERT(0 == strncmp(test_str, str_recv, max_output_size)); in test_stream_compression_simple_compress_decompress_with_output_size_constraint()
122 size_t remaining_size = sizeof(test_str) - 1 - max_output_size; in test_stream_compression_simple_compress_decompress_with_output_size_constraint()
128 GPR_ASSERT(slice_buffer_equals_string(&sink, test_str + max_output_size)); in test_stream_compression_simple_compress_decompress_with_output_size_constraint()
/external/tensorflow/tensorflow/compiler/tests/
Dimage_ops_test.py740 max_output_size = 128
755 max_output_size=max_output_size,
767 self.assertEqual(indices_tf.size, max_output_size)
778 max_output_size = 3
793 max_output_size=max_output_size,
806 self.assertEqual(indices_tf.size, max_output_size)
820 max_output_size = 3
835 max_output_size=max_output_size,
848 self.assertEqual(indices_tf.size, max_output_size)
863 max_output_size = 1
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_NonMaxSuppressionV4.pbtxt17 name: "max_output_size"
41 `max_output_size`. Defaults to false.
48 indices from the boxes tensor, where `M <= max_output_size`.
75 boxes, scores, max_output_size, iou_threshold, score_threshold)
Dapi_def_NonMaxSuppressionWithOverlaps.pbtxt18 name: "max_output_size"
42 indices from the boxes tensor, where `M <= max_output_size`.
59 overlaps, scores, max_output_size, overlap_threshold, score_threshold)
Dapi_def_NonMaxSuppression.pbtxt17 name: "max_output_size"
27 indices from the boxes tensor, where `M <= max_output_size`.
53 boxes, scores, max_output_size, iou_threshold)
Dapi_def_NonMaxSuppressionV2.pbtxt17 name: "max_output_size"
34 indices from the boxes tensor, where `M <= max_output_size`.
55 boxes, scores, max_output_size, iou_threshold)
Dapi_def_NonMaxSuppressionV3.pbtxt17 name: "max_output_size"
41 indices from the boxes tensor, where `M <= max_output_size`.
61 boxes, scores, max_output_size, iou_threshold, score_threshold)
/external/tensorflow/tensorflow/python/grappler/
Dhierarchical_controller.py125 max_output_size=5,
176 self.hparams.max_num_outputs * self.hparams.max_output_size)
187 1 + self.hparams.max_num_outputs * self.hparams.max_output_size +
458 self.hparams.max_output_size)
485 if i * self.hparams.max_output_size + j >= output_embed_dim:
488 i * self.hparams.max_output_size + j] = dim.size
503 1 + self.hparams.max_num_outputs * self.hparams.max_output_size +
644 self.hparams.max_num_outputs * self.hparams.max_output_size
657 k = i * self.hparams.max_output_size + j
658 if k >= self.hparams.max_num_outputs * self.hparams.max_output_size:
[all …]
/external/tensorflow/tensorflow/core/ops/
Dimage_ops.cc117 ShapeHandle max_output_size; in NMSShapeFn() local
118 TF_RETURN_IF_ERROR(c->WithRank(c->input(2), 0, &max_output_size)); in NMSShapeFn()
785 ShapeHandle max_output_size; in __anon6a71d27f1602() local
786 TF_RETURN_IF_ERROR(c->WithRank(c->input(2), 0, &max_output_size)); in __anon6a71d27f1602()
812 ShapeHandle max_output_size; in __anon6a71d27f1702() local
813 TF_RETURN_IF_ERROR(c->WithRank(c->input(2), 0, &max_output_size)); in __anon6a71d27f1702()
876 ShapeHandle max_output_size; in __anon6a71d27f1902() local
877 TF_RETURN_IF_ERROR(c->WithRank(c->input(2), 0, &max_output_size)); in __anon6a71d27f1902()
Dops.pbtxt20844 name: "max_output_size"
20870 name: "max_output_size"
20906 name: "max_output_size"
20946 name: "max_output_size"
20997 name: "max_output_size"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.image.pbtxt125 …argspec: "args=[\'boxes\', \'scores\', \'max_output_size\', \'iou_threshold\', \'score_threshold\'…
129 …argspec: "args=[\'overlaps\', \'scores\', \'max_output_size\', \'overlap_threshold\', \'score_thre…
133 …argspec: "args=[\'boxes\', \'scores\', \'max_output_size\', \'iou_threshold\', \'score_threshold\'…
Dtensorflow.raw_ops.pbtxt2145 …argspec: "args=[\'boxes\', \'scores\', \'max_output_size\', \'iou_threshold\', \'name\'], varargs=…
2149 …argspec: "args=[\'boxes\', \'scores\', \'max_output_size\', \'iou_threshold\', \'name\'], varargs=…
2153 …argspec: "args=[\'boxes\', \'scores\', \'max_output_size\', \'iou_threshold\', \'score_threshold\'…
2157 …argspec: "args=[\'boxes\', \'scores\', \'max_output_size\', \'iou_threshold\', \'score_threshold\'…
2161 …argspec: "args=[\'overlaps\', \'scores\', \'max_output_size\', \'overlap_threshold\', \'score_thre…
/external/python/cpython2/Modules/
D_json.c200 Py_ssize_t max_output_size; in ascii_escape_unicode() local
221 max_output_size = PY_SSIZE_T_MAX; in ascii_escape_unicode()
223 max_output_size = 2 + (input_chars * MAX_EXPANSION); in ascii_escape_unicode()
246 if (PY_SSIZE_T_MAX / 2 >= output_size && output_size * 2 < max_output_size) in ascii_escape_unicode()
249 output_size = max_output_size; in ascii_escape_unicode()
270 Py_ssize_t max_output_size; in ascii_escape_str() local
317 max_output_size = PY_SSIZE_T_MAX; in ascii_escape_str()
319 max_output_size = 2 + (input_chars * MIN_EXPANSION); in ascii_escape_str()
347 if (PY_SSIZE_T_MAX / 2 >= output_size && output_size * 2 < max_output_size) in ascii_escape_str()
350 output_size = max_output_size; in ascii_escape_str()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.image.pbtxt125 …argspec: "args=[\'boxes\', \'scores\', \'max_output_size\', \'iou_threshold\', \'score_threshold\'…
129 …argspec: "args=[\'overlaps\', \'scores\', \'max_output_size\', \'overlap_threshold\', \'score_thre…
133 …argspec: "args=[\'boxes\', \'scores\', \'max_output_size\', \'iou_threshold\', \'score_threshold\'…
Dtensorflow.raw_ops.pbtxt2145 …argspec: "args=[\'boxes\', \'scores\', \'max_output_size\', \'iou_threshold\', \'name\'], varargs=…
2149 …argspec: "args=[\'boxes\', \'scores\', \'max_output_size\', \'iou_threshold\', \'name\'], varargs=…
2153 …argspec: "args=[\'boxes\', \'scores\', \'max_output_size\', \'iou_threshold\', \'score_threshold\'…
2157 …argspec: "args=[\'boxes\', \'scores\', \'max_output_size\', \'iou_threshold\', \'score_threshold\'…
2161 …argspec: "args=[\'overlaps\', \'scores\', \'max_output_size\', \'overlap_threshold\', \'score_thre…
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_impl.py2443 max_output_size, argument
2488 return gen_image_ops.non_max_suppression_v3(boxes, scores, max_output_size,
2495 max_output_size, argument
2545 boxes, scores, max_output_size, iou_threshold, score_threshold,
2549 boxes, scores, max_output_size, iou_threshold, score_threshold)
2555 max_output_size, argument
2594 overlaps, scores, max_output_size, overlap_threshold, score_threshold)
Dimage_ops_test.py4297 max_output_size = constant_op.constant(max_output_size_np)
4300 boxes, scores, max_output_size, iou_threshold).eval()
4360 max_output_size = constant_op.constant(max_output_size_np)
4363 boxes, scores, max_output_size, iou_threshold).eval()
4370 max_output_size = constant_op.constant(max_output_size_np)
4373 boxes, scores, max_output_size, iou_threshold).eval()
4381 max_output_size = constant_op.constant(max_output_size_np)
4384 boxes, scores, max_output_size, iou_threshold, score_threshold)
4400 max_output_size = constant_op.constant(max_output_size_np)
4406 max_output_size,
[all …]
/external/tensorflow/tensorflow/go/op/
Dwrappers.go19372 func NonMaxSuppression(scope *Scope, boxes tf.Output, scores tf.Output, max_output_size tf.Output, …
19383 boxes, scores, max_output_size,
19619 func NonMaxSuppressionV2(scope *Scope, boxes tf.Output, scores tf.Output, max_output_size tf.Output…
19626 boxes, scores, max_output_size, iou_threshold,
20384 …sionWithOverlaps(scope *Scope, overlaps tf.Output, scores tf.Output, max_output_size tf.Output, ov…
20391 overlaps, scores, max_output_size, overlap_threshold, score_threshold,
37733 func NonMaxSuppressionV3(scope *Scope, boxes tf.Output, scores tf.Output, max_output_size tf.Output…
37740 boxes, scores, max_output_size, iou_threshold, score_threshold,
37795 func NonMaxSuppressionV4(scope *Scope, boxes tf.Output, scores tf.Output, max_output_size tf.Output…
37806 boxes, scores, max_output_size, iou_threshold, score_threshold,
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v2.pbtxt41410 name: "max_output_size"
41436 name: "max_output_size"
41459 name: "max_output_size"
41495 name: "max_output_size"
41522 name: "max_output_size"
41562 name: "max_output_size"
41600 name: "max_output_size"
41651 name: "max_output_size"

12