Home
last modified time | relevance | path

Searched refs:squeeze (Results 1 – 25 of 180) sorted by relevance

12345678

/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DCharSetUtilsTest.java47 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/
Dragged_squeeze_op_test.py47 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 …]
Dragged_squeeze_op.py30 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/
Dunary_test.py38 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")
Dbase_test.py53 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/
Dapi_def_Squeeze.pbtxt6 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]
Dapi_def_DecodeProtoV2.pbtxt86 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/
Dlosses_utils.py131 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/
Dconfusion_matrix.py67 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/
Dshape_ops_test.py275 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/
Drandom_op_spmd_expander.cc102 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/
Dsqueeze.cc26 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/
Dtest_file_v0_11.py122 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/
Dwav_to_spectrogram.cc71 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/
Dlinear_operator_block_diag.py450 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)
Dlinear_operator_block_lower_triangular.py567 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/
Dpartial_batch_padding_handler.py96 prediction = np.squeeze(prediction, axis=0)
105 predictions.append(np.squeeze(prediction))
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/m4/
Dcares-compilers.m4437 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/
Dcurl-compilers.m4392 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/
Dreconstruction_ops_test.py125 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/
Dconv1d_test.py43 reduced = array_ops.squeeze(c)
68 reduced = array_ops.squeeze(c) # Sequeeze out dims 1 and 3.
/external/tensorflow/tensorflow/examples/label_image/
Dlabel_image.py45 image_reader = tf.squeeze(tf.io.decode_gif(file_reader, name="gif_reader"))
124 results = np.squeeze(results)
/external/tensorflow/tensorflow/python/ops/losses/
Dutil.py91 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/
Dsmult_curve25519_ref.c32 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/
Dapi_def_DecodeProtoV2.pbtxt26 tf.squeeze if missing values are not a concern. When using tf.squeeze, always
27 pass the squeeze dimension explicitly to avoid surprises.

12345678