Searched refs:input_k (Results 1 – 3 of 3) sorted by relevance
45 for (int output_k = 0, input_k = shape.size() - 1; output_k < shape.size(); in RunTestPermutation() local46 output_k++, input_k--) { in RunTestPermutation()47 reversed_perms[output_k] = shape.size() - perms[input_k] - 1; in RunTestPermutation()
1447 const auto& input_k = model->GetArray(op->inputs[1]); in ProcessTopkV2Operator() local1458 if (!input_values.has_shape() || !input_k.has_shape()) { in ProcessTopkV2Operator()1464 if (input_k.buffer) { in ProcessTopkV2Operator()1472 const int32_t k_value = input_k.GetBuffer<ArrayDataType::kInt32>().data[0]; in ProcessTopkV2Operator()
1310 Tensor input_k(DT_INT32, TensorShape({})); in BM_TopK() local1311 input_k.scalar<int32>()() = k; in BM_TopK()1313 auto top_k = ops::TopK(root, input, input_k, ops::TopK::Sorted(true)); in BM_TopK()