Home
last modified time | relevance | path

Searched refs:multiples (Results 1 – 25 of 125) sorted by relevance

12345

/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_tile_op_test.py43 multiples=[3, 2],
54 multiples=[2, 1, 1],
60 multiples=[1, 2, 1],
65 multiples=[1, 1, 2],
70 multiples=[2, 2, 1],
76 multiples=[2, 1, 2],
82 multiples=[1, 2, 2],
88 multiples=[4, 3, 2],
97 multiples=[2, 1, 1],
104 multiples=[1, 2, 1],
[all …]
Dragged_array_ops.py211 def tile(input, multiples, name=None): # pylint: disable=redefined-builtin argument
234 with ops.name_scope(name, 'RaggedTile', [input, multiples]):
238 return array_ops.tile(input, multiples, name)
239 multiples = ragged_util.convert_to_int_tensor(
240 multiples, name='multiples', dtype=input.row_splits.dtype)
241 multiples.shape.assert_has_rank(1)
245 const_multiples = tensor_util.constant_value(multiples)
248 _tile_ragged_values(input, multiples, const_multiples),
249 _tile_ragged_splits(input, multiples, const_multiples),
253 def _tile_ragged_values(rt_input, multiples, const_multiples=None): argument
[all …]
Dragged_tensor_shape.py571 multiples = [1] * dst_shape.rank
578 multiples[axis] = array_ops.where(
580 if not all(isinstance(v, int) and v == 1 for v in multiples):
581 multiples = array_ops.stack(multiples, axis=0)
582 rt_input = ragged_array_ops.tile(rt_input, multiples)
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dtile_ops.cc65 std::vector<int64> multiples; in Compile() local
66 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector("multiples", &multiples)); in Compile()
69 OP_REQUIRES(ctx, multiples[i] >= 0, in Compile()
72 output_dims[i] = input_shape.dim_size(i) * multiples[i]; in Compile()
76 if (absl::c_all_of(multiples, in Compile()
/external/dagger2/java/dagger/internal/codegen/extension/
DDaggerCollectors.java87 IllegalArgumentException multiples(boolean overflow) { in multiples() method in DaggerCollectors.ToOptionalState
110 throw multiples(true); in add()
129 throw multiples(true); in combine()
139 throw multiples(false); in getOptional()
149 throw multiples(false); in getElement()
/external/guava/guava/src/com/google/common/collect/
DMoreCollectors.java100 IllegalArgumentException multiples(boolean overflow) { in multiples() method in MoreCollectors.ToOptionalState
123 throw multiples(true); in add()
142 throw multiples(true); in combine()
152 throw multiples(false); in getOptional()
162 throw multiples(false); in getElement()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dconvert_trivial_tile_to_concat.cc48 std::vector<int32> const& multiples = in Run() local
55 for (size_t i = 0; i < multiples.size(); ++i) { in Run()
56 if (multiples[i] != 1) { in Run()
76 for (int i = 0; i < multiples[concat_axis]; ++i) { in Run()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Tile.pbtxt10 name: "multiples"
17 This operation creates a new tensor by replicating `input` `multiples` times.
18 The output tensor's i'th dimension has `input.dims(i) * multiples[i]` elements,
19 and the values of `input` are replicated `multiples[i]` times along the 'i'th
Dapi_def_TileGrad.pbtxt5 Since `Tile` takes an input and repeats the input `multiples` times
6 along each dimension, `TileGrad` takes in `multiples` and aggregates
/external/tensorflow/tensorflow/core/kernels/
Dtile_ops.cc165 const Tensor& multiples = context->input(1); in Compute() local
168 context, TensorShapeUtils::IsVector(multiples.shape()), in Compute()
170 multiples.shape().DebugString())); in Compute()
171 OP_REQUIRES(context, input.dims() == multiples.NumElements(), in Compute()
174 input.dims(), " but got length ", multiples.dim_size(0))); in Compute()
184 multiples.flat<Tmultiples>().data(), input_dims); in Compute()
331 const Tensor& multiples = context->input(1); in Compute() local
333 context, TensorShapeUtils::IsVector(multiples.shape()), in Compute()
335 multiples.shape().DebugString())); in Compute()
336 OP_REQUIRES(context, input.dims() == multiples.NumElements(), in Compute()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dshape_ops_test.py469 multiples = constant_op.constant([1, 2, 3, 4], dtype=np.int32)
470 tiled = array_ops.tile(inp, multiples)
544 multiples = np.random.randint(1, 4, size=rank).astype(np.int32)
545 tiled = array_ops.tile(a, multiples)
547 self.assertTrue((np.array(multiples) * np.array(inp.shape) == np.array(
549 self.assertAllEqual(result, np.tile(inp, tuple(multiples)))
571 multiples = constant_op.constant([1, 4], dtype=multiples_dtype)
572 tiled = array_ops.tile(a, multiples)
636 def _RunAndVerifyGradientResult(self, input_shape, multiples): argument
642 tiled = array_ops.tile(a, multiples)
[all …]
/external/OpenCL-CTS/test_conformance/multiple_device_context/
DCMakeLists.txt1 set(MODULE_NAME multiples)
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DTileGrad.pbtxt8 name: "multiples"
DTile.pbtxt8 name: "multiples"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DTileGrad.pbtxt8 name: "multiples"
DTile.pbtxt8 name: "multiples"
/external/scapy/test/
Dp0f.uts78 = Use valid option values when multiples required
84 = Discard non-multiple option values when multiples required
/external/cldr/tools/java/org/unicode/cldr/util/data/
DlangtagRegex.txt67 $variantList = $variant (?: $s $variant )* ; # special for multiples
68 $extensionList = $extension (?: $s $extension )* ; # special for multiples
/external/libhevc/common/arm/
Dihevc_inter_pred_luma_copy.s95 tst r12,#15 @checks wd for multiples for 4 & 8
97 tst r12,#7 @checks wd for multiples for 4 & 8
/external/boringssl/src/crypto/fipsmodule/ec/
Dmake_ec_scalar_base_mult_tests.go50 fmt.Printf(`# This file contains multiples of the base point for various curves. The point
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.manip.pbtxt33 …argspec: "args=[\'input\', \'multiples\', \'name\'], varargs=None, keywords=None, defaults=[\'None…
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DlangtagRegex.txt71 $variantList = $variant (?: $s $variant )* ; # special for multiples
72 $extensionList = $extension (?: $s $extension )* ; # special for multiples
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DlangtagRegex.txt71 $variantList = $variant (?: $s $variant )* ; # special for multiples
72 $extensionList = $extension (?: $s $extension )* ; # special for multiples
/external/adhd/cras/src/tests/
Dcras_dsp_pipeline_unittest.cc25 int multiples = (1 << times); in verify_processed_data() local
27 EXPECT_EQ(i * multiples, data[i]); in verify_processed_data()
28 if ((int16_t)i * multiples != data[i]) in verify_processed_data()
/external/llvm-project/llvm/test/CodeGen/Hexagon/
Disel-global-offset-alignment.ll4 ; beginning of the global "array" don't need to be multiples of 8.

12345