Home
last modified time | relevance | path

Searched refs:x_reshape (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dbetainc_op.cc88 int ndims = static_cast<int>(a_shaper.x_reshape().size()); in Compute()
94 auto a_value = a.shaped<T, NDIM>(a_shaper.x_reshape()); \ in Compute()
95 auto b_value = b.shaped<T, NDIM>(b_shaper.x_reshape()); \ in Compute()
96 auto x_value = x.shaped<T, NDIM>(x_shaper.x_reshape()); \ in Compute()
Dbroadcast_to_op.h58 input_tensor.template shaped<T, NDIMS>(bcast.x_reshape()), in ReshapeAndBCast()
63 input_tensor.template shaped<T, NDIMS>(bcast.x_reshape()), in ReshapeAndBCast()
Dcwise_ops_common.cc84 ndims = static_cast<int>(bcast.x_reshape().size()); in BinaryOpState()
Dsubstr_op.cc149 auto input = input_tensor.shaped<tstring, 1>(bcast.x_reshape()); in Compute()
202 auto input = input_tensor.shaped<tstring, 2>(bcast.x_reshape()); in Compute()
Dxent_op.cc89 logits_in.template shaped<T, 2>(bcast.x_reshape()), in Compute()
Dquantized_mul_op.cc316 const int ndims = bcast.x_reshape().size(); in Compute()
356 << TensorShape(bcast.x_reshape()).DebugString(); in Compute()
Dcwise_ops_common.h187 in0.template shaped<Tin, 2>(bcast.x_reshape()), in Compute()
194 in0.template shaped<Tin, 3>(bcast.x_reshape()), in Compute()
201 in0.template shaped<Tin, 4>(bcast.x_reshape()), in Compute()
208 in0.template shaped<Tin, 5>(bcast.x_reshape()), in Compute()
Dquantized_add_op.cc498 const int ndims = bcast.x_reshape().size(); in Compute()
548 << TensorShape(bcast.x_reshape()).DebugString(); in Compute()
/external/tensorflow/tensorflow/core/util/
Dmatmul_bcast.h49 x_batch_size_ = TensorShape(batch_bcast_->x_reshape()).num_elements(); in MatMulBCast()
57 ComputeBatchIndices(output_batch_size_, batch_bcast_->x_reshape(), in MatMulBCast()
Dbcast_test.cc33 strings::StrAppend(&ret, "[", absl::StrJoin(b.x_reshape(), ","), "]"); in BCast()
Dbcast.h374 const Vec& x_reshape() const { return reshape_[0]; } in x_reshape() function
/external/tensorflow/tensorflow/compiler/tests/
Dqr_op_test.py102 x_reshape = np.reshape(x_np, (-1, x_np.shape[-2], x_np.shape[-1]))
106 x_reshape[i, :, :], mode="complete")
109 x_reshape[i, :, :], mode="reduced")
/external/tensorflow/tensorflow/python/kernel_tests/
Dqr_op_test.py156 x_reshape = np.reshape(x_np, (-1, x_np.shape[-2], x_np.shape[-1]))
160 x_reshape[i, :, :], mode="complete")
163 x_reshape[i, :, :], mode="reduced")