Benign repos Download

attribute_map.cc

imports xla/ffi/attribute_map.himports xla/ffi/attribute_map.pb.h
SHA-256167dffc2716332062f7ba927bec8be48bf60888a09d1528f568716b91aae1097
MaleculeMd(In₄)

Evidence

apache web server name lines 1–10
1/* Copyright 2024 The OpenXLA Authors.
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 xla/ffi/attribute_map.h lines 11–43
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 "xla/ffi/attribute_map.h"
17
18#include <cstdint>
19#include <initializer_list>
20#include <limits>
21#include <memory>
22#include <string>
23#include <type_traits>
24#include <utility>
25#include <variant>
26#include <vector>
27
28#include "absl/algorithm/container.h"
29#include "absl/status/status.h"
30#include "absl/status/statusor.h"
31#include "absl/strings/str_cat.h"
32#include "absl/strings/string_view.h"
33#include "llvm/ADT/TypeSwitch.h" // IWYU pragma: keep
34#include "mlir/IR/Attributes.h"
35#include "mlir/IR/BuiltinAttributes.h"
36#include "mlir/Support/LLVM.h"
37#include "xla/ffi/attribute_map.pb.h"
38#include "xla/tsl/platform/errors.h"
39#include "xla/tsl/platform/statusor.h"
40
41namespace xla::ffi {
42template <typename OutputVariant, typename... InputTypes>
43static OutputVariant Convert(std::variant<Inp …
English function-word token "that" lines 51–54
51:33… in the range of the given integer type.
52// Note that only works for integer types where all values can be represented as
53// int32_t.
54template <typen …

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.