Benign repos Download

resource_variable_ops.cc

imports tensorflow/core/platform/casts.himports tensorflow/core/platform/mem.h
SHA-2565feac88638b6505defa1c8683b50124c37df680da3e98603c104a9974b07fded
MaleculeMd(In₅)

Evidence

apache web server name lines 1–10
1/* Copyright 2016 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 …
English function-word token "and" lines 11–14
11:42… IND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14================================================================ …
English function-word token "that" lines 40–43
40:25… the duration of the whole read. This means
41// that as long as you only do sparse read operations no write will
42// see the reference count >1.
43// …
imports tensorflow/core/platform/casts.h lines 50–97
50:14… DA || TENSORFLOW_USE_ROCM
51#define EIGEN_USE_GPU
52#include "tensorflow/core/common_runtime/gpu/gpu_event_mgr.h"
53#include "tensorflow/core/platform/stream_executor.h"
54#endif
55
56#include <limits>
57#include <memory>
58#include <type_traits>
59#include <vector>
60
61#include "absl/status/status.h"
62#include "absl/strings/str_cat.h"
63#include "absl/strings/str_join.h"
64#include "absl/synchronization/notification.h"
65#include "tensorflow/core/common_runtime/device.h"
66#include "tensorflow/core/framework/bounds_check.h"
67#include "tensorflow/core/framework/op_kernel.h"
68#include "tensorflow/core/framework/op_requires.h"
69#include "tensorflow/core/framework/register_types.h"
70#include "tensorflow/core/framework/resource_mgr.h"
71#include "tensorflow/core/framework/tensor_shape.h"
72#include "tensorflow/core/framework/tensor_types.h"
73#include "tensorflow/core/framework/types.h"
74#include "tensorflow/core/framework/types.pb.h"
75#include "tensorflow/core/framework/variant_op_registry.h"
76#include "tensorflow/core/kernels/dense_update_functor.h"
77#include "tensorflow/core/kernels/gather_functor.h"
78#include "tensorflow/core/kernels/gather_nd_op.h"
79#include "tensorflow/core/kernels/resource_variable_ops.h"
80#include "tensorflow/core/kernels/resource_variable_util.h"
81#include "tensorflow/core/kernels/scatter_functor.h"
82#include "tensorflow/core/kernels/scatter_nd_util.h"
83#include "tensorflow/core/kernels/training_op_helpers.h"
84#include "tensorflow/core/kernels/variable_ops.h"
85#include "tensorflow/core/lib/core/errors.h"
86#include "tensorflow/core/lib/core/refcount.h"
87#include "tensorflow/core/platform/casts.h"
88#include "tensorflow/core/platform/mem.h"
89#include "tensorflow/core/platform/mutex.h"
90#include "tensorflow/core/platform/types.h"
91#include "tensorflow/core/util/determinism.h"
92#include "tensorflow/core/util/util.h"
93
94namespace tensorflow {
95
96REGISTER_KERNEL_BUILDER(Name("_VarHandlesOp").Device(DEVICE_CPU),
97 …
English function-word token "have" lines 759–761
759:43… (
760 absl::StrCat("params must have at least ", batch_dims_,
761 " (batch_dims) dimensions but it has …

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.