Benign repos Download

tensor.cc

imports tensorflow/core/platform/errors.himports tensorflow/core/platform/logging.h
SHA-256f5a880105ce13cb0d9e7cea445fbb6e6777b2ca70f0051201f397856ddaee379
MaleculeMd(In₈)

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 …
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================================================================ …
imports tensorflow/core/platform/errors.h lines 27–74
27:66… ding
28// a decoding T[] into/from a Cord, etc.
29
30#include "tensorflow/core/framework/tensor.h"
31
32#include <algorithm>
33#include <cstdint>
34#include <cstring>
35#include <memory>
36#include <ostream>
37#include <type_traits>
38#include <utility>
39
40#include "absl/log/check.h"
41#include "absl/strings/escaping.h"
42#include "absl/strings/str_cat.h"
43#include "absl/strings/string_view.h"
44#include "xla/tsl/util/byte_swap_array.h"
45#include "tensorflow/core/framework/allocation_description.pb.h"
46#include "tensorflow/core/framework/log_memory.h"
47#include "tensorflow/core/framework/resource_handle.h"
48#include "tensorflow/core/framework/resource_handle.pb.h"
49#include "tensorflow/core/framework/tensor.pb.h"
50#include "tensorflow/core/framework/tensor_description.pb.h"
51#include "tensorflow/core/framework/tensor_util.h"
52#include "tensorflow/core/framework/type_traits.h"
53#include "tensorflow/core/framework/typed_allocator.h"
54#include "tensorflow/core/framework/types.h"
55#include "tensorflow/core/framework/types.pb.h"
56#include "tensorflow/core/framework/variant.h"
57#include "tensorflow/core/framework/variant_encode_decode.h"
58#include "tensorflow/core/framework/variant_op_registry.h"
59#include "tensorflow/core/framework/variant_tensor_data.h"
60#include "tensorflow/core/lib/core/coding.h"
61#include "tensorflow/core/lib/core/errors.h"
62#include "tensorflow/core/lib/core/status.h"
63#include "tensorflow/core/lib/gtl/inlined_vector.h"
64#include "tensorflow/core/platform/errors.h"
65#include "tensorflow/core/platform/logging.h"
66#include "tensorflow/core/platform/macros.h"
67#include "tensorflow/core/platform/numbers.h"
68#include "tensorflow/core/platform/protobuf.h"
69#include "tensorflow/core/platform/tensor_coding.h"
70#include "tensorflow/core/platform/types.h"
71#include "tsl/platform/ml_dtypes.h"
72
73namespace tensorflow {
74
English function-word token "that" lines 205–207
205:44… td::remove_cv<T>::type, bool>) {
206 // Check that contents are valid and not trap representations for bool
207 // TODO(tlongeri): do we need th …
English function-word token "have" lines 732–735
732:39… e());
733 } else {
734 // If tensor shape says we have n < in_n elements in the output tensor
735 // then make sure to only decode the first n out of …

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.