Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/keras/layers/
Ddense_attention.py165 scores_shape = array_ops.shape(scores)
168 [array_ops.ones_like(scores_shape[:-2]), scores_shape[-2:]],
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/
Dcombined_nms_test.py72 scores_shape = [batch_size, num_boxes, num_classes]
78 [boxes_shape, scores_shape], [
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dimage_ops.cc417 const TensorShape& scores_shape = context->InputShape("scores"); in Compile() local
418 OP_REQUIRES(context, TensorShapeUtils::IsVector(scores_shape), in Compile()
420 scores_shape.DebugString())); in Compile()
422 context, scores_shape.dim_size(0) == num_boxes, in Compile()
424 scores_shape.DebugString())); in Compile()
569 XlaGather(indices_sorted, scores_shape, selected_indices_sorted, in Compile()
/external/tensorflow/tensorflow/core/kernels/image/
Dnon_max_suppression_op.cc541 TensorShape scores_shape({num_batches, per_batch_size}); in BatchedNonMaxSuppressionOp() local
543 context->allocate_output(1, scores_shape, &nmsed_scores_t)); in BatchedNonMaxSuppressionOp()
548 context->allocate_output(2, scores_shape, &nmsed_classes_t)); in BatchedNonMaxSuppressionOp()