Home
last modified time | relevance | path

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

12345

/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_tile_op_test.py44 multiples=[3, 2],
55 multiples=[2, 1, 1],
61 multiples=[1, 2, 1],
66 multiples=[1, 1, 2],
71 multiples=[2, 2, 1],
77 multiples=[2, 1, 2],
83 multiples=[1, 2, 2],
89 multiples=[4, 3, 2],
98 multiples=[2, 1, 1],
105 multiples=[1, 2, 1],
[all …]
Dragged_array_ops.py230 def tile(input, multiples, name=None): # pylint: disable=redefined-builtin argument
254 with ops.name_scope(name, 'RaggedTile', [input, multiples]):
257 multiples = ragged_util.convert_to_int_tensor(
258 multiples, name='multiples', dtype=dtypes.int64)
259 multiples.shape.assert_has_rank(1)
261 return array_ops.tile(input, multiples, name)
265 const_multiples = tensor_util.constant_value(multiples)
268 _tile_ragged_values(input, multiples, const_multiples),
269 _tile_ragged_splits(input, multiples, const_multiples))
272 def _tile_ragged_values(rt_input, multiples, const_multiples=None): argument
[all …]
Dragged_util.py211 multiples = [1] * data.shape.ndims
212 multiples[axis] = multiple
215 multiples = array_ops.concat([ones[:axis], [multiple], ones[axis + 1:]],
217 return array_ops.tile(data, multiples)
Dragged_tensor_shape.py520 multiples = [1] * dst_shape.rank
527 multiples[axis] = array_ops.where(
529 if not all(isinstance(v, int) and v == 1 for v in multiples):
530 multiples = array_ops.stack(multiples, axis=0)
531 rt_input = ragged_array_ops.tile(rt_input, multiples)
Dragged_gather_ops.py218 multiples = array_ops.concat([
223 return ragged_array_ops.tile(params, 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()
84 int64 multiple = multiples[i]; in Compile()
/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/lite/toco/graph_transformations/
Dconvert_trivial_tile_to_concat.cc48 std::vector<int32> const& multiples = in Run() local
55 for (int 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/kernels/
Dtile_ops.cc91 const Tensor& multiples = context->input(1); in Compute() local
94 context, IsLegacyVector(multiples.shape()), in Compute()
96 multiples.shape().DebugString())); in Compute()
97 OP_REQUIRES(context, input.dims() == multiples.NumElements(), in Compute()
100 input.dims(), " but got length ", multiples.dim_size(0))); in Compute()
110 multiples.flat<Tmultiples>().data(), input_dims); in Compute()
264 const Tensor& multiples = context->input(1); in Compute() local
266 context, IsLegacyVector(multiples.shape()), in Compute()
268 multiples.shape().DebugString())); in Compute()
269 OP_REQUIRES(context, input.dims() == multiples.NumElements(), in Compute()
[all …]
/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Ddeterministic.py171 multiples = [n_static] + ones
174 multiples = array_ops.concat(([n], ones), axis=0)
176 return array_ops.tile(self.loc[array_ops.newaxis, ...], multiples=multiples)
/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)
540 multiples = np.random.randint(1, 4, size=rank).astype(np.int32)
541 tiled = array_ops.tile(a, multiples)
543 self.assertTrue((np.array(multiples) * np.array(inp.shape) == np.array(
545 self.assertAllEqual(result, np.tile(inp, tuple(multiples)))
567 multiples = constant_op.constant([1, 4], dtype=multiples_dtype)
568 tiled = array_ops.tile(a, multiples)
632 def _RunAndVerifyGradientResult(self, input_shape, multiples): argument
638 tiled = array_ops.tile(a, multiples)
[all …]
/external/scapy/test/
Dp0f.uts78 = Use valid option values when multiples required
84 = Discard non-multiple option values when multiples required
/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
Dihevc_inter_pred_chroma_copy.s117 tst r12,#15 @checks wd for multiples for 4 & 8
119 tst r12,#7 @checks wd for multiples for 4 & 8
/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/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DlangtagRegex.txt70 $variantList = $variant (?: $s $variant )* ; # special for multiples
71 $extensionList = $extension (?: $s $extension )* ; # special for multiples
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DlangtagRegex.txt70 $variantList = $variant (?: $s $variant )* ; # special for multiples
71 $extensionList = $extension (?: $s $extension )* ; # special for multiples
/external/adhd/cras/src/tests/
Dcras_dsp_pipeline_unittest.cc26 int multiples = (1 << times); in verify_processed_data() local
28 EXPECT_EQ(i * multiples, data[i]); in verify_processed_data()
29 if ((int16_t)i * multiples != data[i]) in verify_processed_data()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.manip.pbtxt33 …argspec: "args=[\'input\', \'multiples\', \'name\'], varargs=None, keywords=None, defaults=[\'None…
/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/core/grappler/optimizers/data/
Dvectorization_utils.cc483 Node* multiples; in StackTensor() local
487 .Finalize(g, &multiples)); in StackTensor()
497 .Input(multiples) // multiples in StackTensor()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/
Disel-global-offset-alignment.ll4 ; beginning of the global "array" don't need to be multiples of 8.
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
Dops.py982 def tile(labeled_tensor, multiples, name=None): argument
1007 if not set(multiples.keys()) <= set(labeled_tensor.axes.keys()):
1010 (multiples.keys(), labeled_tensor.axes))
1013 name for name in multiples
1019 multiples_list = [multiples.get(name, 1) for name in labeled_tensor.axes]
/external/libavc/common/arm/
Dih264_inter_pred_luma_copy_a9q.s85 tst r12, #15 @checks wd for multiples for 4 & 8
87 tst r12, #7 @checks wd for multiples for 4 & 8

12345