Home
last modified time | relevance | path

Searched refs:input_in (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dnth_element_op.cc51 const Tensor& input_in = context->input(0); in Compute() local
52 const int num_dims = input_in.dims(); in Compute()
55 input_in.shape().DebugString())); in Compute()
58 context, input_in.dim_size(num_dims - 1) > n, in Compute()
63 n = input_in.dim_size(num_dims - 1) - n - 1; in Compute()
69 out_shape.AddDim(input_in.dim_size(i)); in Compute()
76 nthElementFunc(context, input_in, *output_tensor, n, reverse_); in Compute()
Dtopk_op.cc62 const auto& input_in = context->input(0); in Compute() local
63 OP_REQUIRES(context, input_in.dims() >= 1, in Compute()
65 input_in.shape().DebugString())); in Compute()
66 OP_REQUIRES(context, input_in.dim_size(input_in.dims() - 1) >= k, in Compute()
69 input_in.dim_size(input_in.dims() - 1), ", needed ", k)); in Compute()
71 const auto& input = input_in.flat_inner_dims<T>(); in Compute()
76 TensorShape output_shape = input_in.shape(); in Compute()
77 output_shape.set_dim(input_in.dims() - 1, k); in Compute()