Home
last modified time | relevance | path

Searched refs:inner_dim (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dredux_functor.h51 Eigen::Index inner_dim = 1, outer_dim = 1; in operator() local
55 inner_dim *= input_dims[i]; in operator()
71 if (inner_dim > num_threads * 32) { in operator()
76 const Eigen::Index inner_block_size = Eigen::divup(inner_dim, num_blocks); in operator()
81 {inner_dim}); in operator()
93 const auto compute = [inner_dim, outer_dim, num_blocks, inner_block_size, in operator()
99 inner_dim_limit = std::min(inner_dim, inner_dim_limit); in operator()
106 auto in = Input(my_job_start + i * inner_dim, my_job_len); in operator()
128 const Eigen::Index parallel_cell_size = inner_dim; in operator()
129 const Eigen::Index total_workload = outer_dim * inner_dim; in operator()
[all …]
Dcross_op.cc60 auto inner_dim = in0.dim_size(in0.dims() - 1); in Compute() local
61 OP_REQUIRES(context, inner_dim == 3, in Compute()
Dtraining_ops.cc172 typename TTypes<Tindex>::ConstVec indices, int64 inner_dim, in operator ()()
178 const int in_bytes = inner_dim * sizeof(T) * 3; in operator ()()
179 const int out_bytes = inner_dim * sizeof(T) * 2; in operator ()()
180 const int cycles = inner_dim * (Eigen::TensorOpCost::AddCost<T>() * 2 + in operator ()()
184 if (inner_dim > 1) { in operator ()()
282 int64 inner_dim) { in operator ()()
289 if (inner_dim > 1) { in operator ()()
600 int64 inner_dim, bool multiply_linear_by_lr) { in operator ()()
611 if (inner_dim > 1) { in operator ()()
1424 int64 inner_dim = 1; in Compute() local
[all …]
Dtraining_ops.h103 typename TTypes<Tindex>::ConstVec indices, int64 inner_dim,
125 typename TTypes<Tindex>::ConstVec indices, int64 inner_dim);
190 int64 inner_dim, bool multiply_linear_by_lr);
Dcount_ops.cc41 int inner_dim = is_1d ? 1 : 2; in OutputSparse() local
43 0, TensorShape({total_values, inner_dim}), &indices)); in OutputSparse()
Dtraining_ops_gpu.cu.cc510 typename TTypes<Tindex>::ConstVec indices, int64 inner_dim, in operator ()()
572 int64 inner_dim) { in operator ()()
781 typename TTypes<Tindex>::ConstVec indices, int64 inner_dim, in operator ()()
/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dfft_ops_test.py369 inner_dim = size // 2 + 1
374 c2r = np.mod(np.arange(np.power(size, dims - 1) * inner_dim),
375 10).reshape((size,) * (dims - 1) + (inner_dim,))
386 inner_dim = size // 2 + 1
391 c2r = np.mod(np.arange(np.power(size, dims - 1) * inner_dim),
392 10).reshape((size,) * (dims - 1) + (inner_dim,))
404 inner_dim = size // 2 + 1
412 c2r = np.mod(np.arange(np.power(size, dims - 1) * inner_dim),
413 10).reshape((size,) * (dims - 1) + (inner_dim,))
427 inner_dim = size // 2 + 1
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dcross_op.cc39 auto inner_dim = in0_shape.dim_size(in0_shape.dims() - 1); in Compile() local
40 OP_REQUIRES(ctx, inner_dim == 3, in Compile()
/external/tensorflow/tensorflow/python/ops/signal/
Dfft_ops.py311 inner_dim = input_shape[-1]
316 [inner_dim]
317 ], 0)) * _ymask(inner_dim)
/external/tensorflow/tensorflow/python/kernel_tests/
Dsegment_reduction_ops_test.py975 def _runGraph(self, op_functor, outer_dim, ratio, inner_dim, dtype): argument
977 const = np.random.randint(5, size=(outer_dim, inner_dim))
991 [name, outer_dim, ratio, inner_dim,
998 for outer_dim, ratio, inner_dim, dtype in itertools.product(*self.options):
1001 self._runGraph(op_functor, outer_dim, ratio, inner_dim, dtype)
1006 for outer_dim, ratio, inner_dim, dtype in itertools.product(*self.options):
1009 self._runGraph(op_functor, outer_dim, ratio, inner_dim, dtype)
/external/libaom/libaom/av1/encoder/
Dmathutils.h94 const int m1_rows, const int inner_dim, in multiply_mat() argument
102 for (inner = 0; inner < inner_dim; ++inner) in multiply_mat()
103 sum += m1[row * inner_dim + inner] * m2[inner * m2_cols + col]; in multiply_mat()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorConvolution.h875 … const int inner_dim = ((maxSharedMem / (sizeof(Scalar)) - kernel_size + 1 + 31) / 32) * 32;
876 maxX = numext::mini<int>(inner_dim, numX);
883 const int inner_dim = maxSharedMem / ((warpSize + kernel_size) * sizeof(Scalar));
884 const int maxP = numext::mini<int>(inner_dim, numP);
885 … maxX = numext::mini<int>(maxSharedMem / (inner_dim * sizeof(Scalar)) - kernel_size + 1, numX);
938 …int inner_dim = ((static_cast<int>(scaling_factor * kernel_size_x) - kernel_size_x + 1 + 32) / 32)…
939 const int maxX = numext::mini<int>(inner_dim, numX);
/external/tensorflow/tensorflow/python/ops/structured/
Dstructured_tensor.py469 inner_dim = min(parent_rank, current_field_rank - 1)
470 if inner_dim <= new_parent_rank:
472 return _merge_dims_generic(current_field, new_parent_rank, inner_dim)
/external/tensorflow/tensorflow/core/ops/
Dmath_ops.cc1942 auto inner_dim = c->Dim(input, rank - 1); in __anon57f5a5dd1702() local
1944 TF_RETURN_IF_ERROR(c->Divide(inner_dim, 8, in __anon57f5a5dd1702()
/external/tensorflow/tensorflow/compiler/tests/
Drandomized_tests.cc1205 int64 inner_dim = RandomDim(); in TEST_F() local
1207 x_dims[ndims - 1] = inner_dim; in TEST_F()
1208 y_dims[ndims - 2] = inner_dim; in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc2506 [&](int64 product, int64 inner_dim) { in EmitFastConcatenate() argument
2507 return product * output_shape.dimensions(inner_dim); in EmitFastConcatenate()