Benign repos download unavailable

scatter_op_test.cc

imports tensorflow/core/platform/logging.himports tensorflow/core/platform/test.h
SHA-256dd03ad5bedfb6e6166eea4f6fa6a1c26fc40bcc46321181403834bf168096c98

Evidence

apache web server name lines 1–10
1/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is …
imports tensorflow/core/platform/logging.h lines 11–41
11:42… IND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14==============================================================================*/
15
16#include <functional>
17#include <memory>
18#include <vector>
19
20#include "tensorflow/core/framework/allocator.h"
21#include "tensorflow/core/framework/fake_input.h"
22#include "tensorflow/core/framework/node_def_builder.h"
23#include "tensorflow/core/framework/op_kernel.h"
24#include "tensorflow/core/framework/tensor.h"
25#include "tensorflow/core/framework/types.h"
26#include "tensorflow/core/framework/types.pb.h"
27#include "tensorflow/core/kernels/ops_testutil.h"
28#include "tensorflow/core/kernels/ops_util.h"
29#include "tensorflow/core/lib/core/status_test_util.h"
30#include "tensorflow/core/lib/random/simple_philox.h"
31#include "tensorflow/core/lib/strings/str_util.h"
32#include "tensorflow/core/platform/logging.h"
33#include "tensorflow/core/platform/test.h"
34#include "tensorflow/core/platform/test_benchmark.h"
35
36namespace tensorflow {
⋯5 lines
C/C++ unit-test EXPECT_TRUE marker lines 182–189
182:54… 779, 10000, 10001, 10002});
183 absl::Status s = RunOpKernel();
184 EXPECT_TRUE(
185 absl::StrContains(s.ToString(), "indices[2] = 99 is not in [0, 5)"))
186 << s;
187}
188
189TEST_F(ScatterSubOpTest, Error_Index …
English function-word token "have" lines 229–231
229:37… String(),
230 "Must have updates.shape = indices.shape + "
231 "params.shape[1:] or updates. …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.