/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/ |
D | CharSetUtilsTest.java | 47 assertNull(CharSetUtils.squeeze(null, (String) null)); in testSqueeze_StringString() 48 assertNull(CharSetUtils.squeeze(null, "")); in testSqueeze_StringString() 50 assertEquals("", CharSetUtils.squeeze("", (String) null)); in testSqueeze_StringString() 51 assertEquals("", CharSetUtils.squeeze("", "")); in testSqueeze_StringString() 52 assertEquals("", CharSetUtils.squeeze("", "a-e")); in testSqueeze_StringString() 54 assertEquals("hello", CharSetUtils.squeeze("hello", (String) null)); in testSqueeze_StringString() 55 assertEquals("hello", CharSetUtils.squeeze("hello", "")); in testSqueeze_StringString() 56 assertEquals("hello", CharSetUtils.squeeze("hello", "a-e")); in testSqueeze_StringString() 57 assertEquals("helo", CharSetUtils.squeeze("hello", "l-p")); in testSqueeze_StringString() 58 assertEquals("heloo", CharSetUtils.squeeze("helloo", "l")); in testSqueeze_StringString() [all …]
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_squeeze_op_test.py | 47 rt = ragged_squeeze_op.squeeze( 49 dt = array_ops.squeeze(constant_op.constant(input_list), squeeze_ranks) 107 rt = ragged_squeeze_op.squeeze( 109 dt = array_ops.squeeze(constant_op.constant(input_list), squeeze_ranks) 163 rt_s = ragged_squeeze_op.squeeze(rt, squeeze_ranks) 164 dt_s = array_ops.squeeze(dt, squeeze_ranks) 181 rt_s = ragged_squeeze_op.squeeze(rt, squeeze_ranks) 199 rt_s = ragged_squeeze_op.squeeze(rt, [0, 1, 3, 6, 7]) 243 ragged_squeeze_op.squeeze( 271 ragged_squeeze_op.squeeze(ragged_factory_ops.constant(input_list)) [all …]
|
D | ragged_squeeze_op.py | 30 def squeeze(input: ragged_tensor.Ragged, axis=None, name=None): # pylint: disable=redefined-builtin function 54 return array_ops.squeeze(input, axis, name) 101 squeezed_rt = array_ops.squeeze(squeezed_rt, dense_dims) 119 squeezed_rt = array_ops.squeeze(squeezed_rt, [0], name) 124 @dispatch.dispatch_for_api(array_ops.squeeze) 131 return squeeze(input, axis, name)
|
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/ |
D | unary_test.py | 38 q = array_ops.squeeze(q, axis=-2) 44 q = array_ops.squeeze(q, axis=3) 70 q = array_ops.squeeze(q, axis=[-1, -2, 3]) 75 q = array_ops.squeeze(q, axis=[5, 2, 3]) 87 return array_ops.squeeze(q, name="output_0")
|
D | base_test.py | 53 return array_ops.squeeze(pool, name="output_0") 102 return array_ops.squeeze(s, name="output_0") 142 return array_ops.squeeze(n, name="output_0") 184 return array_ops.squeeze(n, name="output_0") 220 return array_ops.squeeze(n, name="output_0") 245 return array_ops.squeeze(n, name="output_0") 283 return array_ops.squeeze(inc2, name="output_0")
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_Squeeze.pbtxt | 6 The `input` to squeeze. 21 index starts at 0. It is an error to squeeze a dimension that is not 1. Must 36 shape(squeeze(t)) ==> [2, 3] 43 shape(squeeze(t, [2, 4])) ==> [1, 2, 3, 1]
|
D | api_def_DecodeProtoV2.pbtxt | 86 tf.squeeze if missing values are not a concern. When using tf.squeeze, always 87 pass the squeeze dimension explicitly to avoid surprises.
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | losses_utils.py | 131 predictions = array_ops.squeeze(predictions, [-1]) 134 labels = array_ops.squeeze(labels, [-1]) 143 lambda: array_ops.squeeze(predictions, [-1]), 149 lambda: array_ops.squeeze(labels, [-1]), 215 sample_weight = array_ops.squeeze(sample_weight, [-1]) 223 maybe_squeeze_weights = lambda: array_ops.squeeze(sample_weight, [-1])
|
/external/tensorflow/tensorflow/python/ops/ |
D | confusion_matrix.py | 67 predictions = array_ops.squeeze(predictions, [-1]) 70 labels = array_ops.squeeze(labels, [-1]) 79 lambda: array_ops.squeeze(predictions, [-1]), 85 lambda: array_ops.squeeze(labels, [-1]),
|
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/ |
D | shape_ops_test.py | 275 np_ans = np.squeeze(x, axis=tuple(squeeze_dims)) 276 tensor = array_ops.squeeze(x, squeeze_dims) 279 np_ans = np.squeeze(x) 280 tensor = array_ops.squeeze(x) 342 tensor = array_ops.squeeze(np.zeros([1, 1, 1]), []) 352 tensor = array_ops.squeeze([[[False]]], []) 365 self.assertRaises(ValueError, array_ops.squeeze, input_1x1x3, [2]) 371 self.assertRaises(ValueError, array_ops.squeeze, 373 self.assertRaises(ValueError, array_ops.squeeze, 375 self.assertRaises(ValueError, array_ops.squeeze, [all …]
|
/external/tensorflow/tensorflow/dtensor/mlir/expansions/ |
D | random_op_spmd_expander.cc | 102 for (mlir::TF::SqueezeOp squeeze : cluster.getOps<mlir::TF::SqueezeOp>()) in GetDeviceSeed() 103 if (squeeze->hasAttrOfType<mlir::DenseIntElementsAttr>( in GetDeviceSeed() 106 squeeze in GetDeviceSeed() 111 return squeeze.output(); in GetDeviceSeed() 159 mlir::TF::SqueezeOp squeeze = builder.create<mlir::TF::SqueezeOp>( in GetDeviceSeed() local 164 squeeze->setAttr(kDeviceSeedForMeshDims, in GetDeviceSeed() 167 return squeeze.output(); in GetDeviceSeed()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | squeeze.cc | 26 namespace squeeze { namespace 102 static TfLiteRegistration r = {nullptr, nullptr, squeeze::Prepare, in Register_SQUEEZE() 103 squeeze::Eval}; in Register_SQUEEZE()
|
/external/tensorflow/tensorflow/tools/compatibility/testdata/ |
D | test_file_v0_11.py | 122 self.assertAllEqual(tf.expand_dims(tf.squeeze(a, [0]), 0).eval(), 124 self.assertAllEqual(tf.squeeze(tf.expand_dims(a, 1), [1]).eval(), 127 tf.expand_dims(tf.squeeze([[1, 2, 3]], axis=[0]), dim=0).eval(), a) 129 tf.squeeze(tf.expand_dims([[1, 2, 3]], dim=1), axis=[1]).eval(), a) 132 tf.squeeze(tf.expand_dims([[1, 2, 3]], dim=1), axis=[1]).eval(), a)
|
/external/tensorflow/tensorflow/examples/wav_to_spectrogram/ |
D | wav_to_spectrogram.cc | 71 Output squeeze = Squeeze(root.WithOpName("squeeze"), expand_dims, in WavToSpectrogram() local 73 Output png_encoder = EncodePng(root.WithOpName("png_encoder"), squeeze); in WavToSpectrogram()
|
/external/tensorflow/tensorflow/python/ops/linalg/ |
D | linear_operator_block_diag.py | 450 return [array_ops.squeeze(y, axis=-1) for y in y_mat] 459 return array_ops.squeeze(y_mat, axis=-1) 650 return [array_ops.squeeze(x, axis=-1) for x in solution_mat] 659 return array_ops.squeeze(solution_mat, axis=-1) 672 return array_ops.squeeze(diagonal, axis=-1) 734 return array_ops.squeeze(eigs, axis=-1)
|
D | linear_operator_block_lower_triangular.py | 567 return [array_ops.squeeze(y, axis=-1) for y in y_mat] 576 return array_ops.squeeze(y_mat, axis=-1) 819 return [array_ops.squeeze(x, axis=-1) for x in solution_mat] 827 return array_ops.squeeze(solution_mat, axis=-1) 837 return array_ops.squeeze(diagonal, axis=-1) 880 return array_ops.squeeze(eigs, axis=-1)
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | partial_batch_padding_handler.py | 96 prediction = np.squeeze(prediction, axis=0) 105 predictions.append(np.squeeze(prediction))
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/m4/ |
D | cares-compilers.m4 | 437 squeeze CFLAGS 452 squeeze CPPFLAGS 670 squeeze tmp_CPPFLAGS 671 squeeze tmp_CFLAGS 677 squeeze CPPFLAGS 678 squeeze CFLAGS 732 squeeze CPPFLAGS 733 squeeze CFLAGS 813 squeeze CPPFLAGS 814 squeeze CFLAGS [all …]
|
/external/curl/m4/ |
D | curl-compilers.m4 | 392 squeeze CFLAGS 407 squeeze CPPFLAGS 618 squeeze tmp_CPPFLAGS 619 squeeze tmp_CFLAGS 625 squeeze CPPFLAGS 626 squeeze CFLAGS 674 squeeze CPPFLAGS 675 squeeze CFLAGS 744 squeeze CPPFLAGS 745 squeeze CFLAGS [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/signal/ |
D | reconstruction_ops_test.py | 125 signal = constant_op.constant(np.squeeze(self.powers[0, :, :]), 147 input_matrix = np.squeeze(self.powers[0, :, :]) 155 np.squeeze(output)]
|
/external/tensorflow/tensorflow/python/kernel_tests/nn_ops/ |
D | conv1d_test.py | 43 reduced = array_ops.squeeze(c) 68 reduced = array_ops.squeeze(c) # Sequeeze out dims 1 and 3.
|
/external/tensorflow/tensorflow/examples/label_image/ |
D | label_image.py | 45 image_reader = tf.squeeze(tf.io.decode_gif(file_reader, name="gif_reader")) 124 results = np.squeeze(results)
|
/external/tensorflow/tensorflow/python/ops/losses/ |
D | util.py | 91 sample_weight = array_ops.squeeze(sample_weight, [-1]) 99 maybe_squeeze_weights = lambda: array_ops.squeeze(sample_weight, [-1])
|
/external/libwebsockets/plugins/ssh-base/crypto/ |
D | smult_curve25519_ref.c | 32 static void squeeze(unsigned int a[32]) in squeeze() function 72 squeeze(out); in mult() 107 squeeze(out); in square()
|
/external/tensorflow/tensorflow/core/api_def/python_api/ |
D | api_def_DecodeProtoV2.pbtxt | 26 tf.squeeze if missing values are not a concern. When using tf.squeeze, always 27 pass the squeeze dimension explicitly to avoid surprises.
|