Benign repos Download

mlir_dump.cc

imports tsl/platform/path.himports tsl/platform/stringpiece.h
SHA-25662ccb6d5341bf6a72c2b5e4154f239a7c962f8e8440755bf52dcf1f0d9811074
MaleculeMd(In₆)

Evidence

apache web server name lines 1–10
1/* Copyright 2022 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 tsl/platform/path.h lines 11–47
11:42… IND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14==============================================================================*/
15#include "tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.h"
16
17#include <cstdint>
18#include <cstdlib>
19#include <memory>
20#include <string>
21#include <utility>
22
23#include "absl/log/log.h"
24#include "absl/memory/memory.h"
25#include "absl/status/status.h"
26#include "absl/status/statusor.h"
27#include "absl/strings/match.h"
28#include "absl/strings/string_view.h"
29#include "llvm/ADT/DenseMap.h"
30#include "llvm/Support/FormatVariadic.h"
31#include "llvm/Support/raw_ostream.h"
32#include "mlir/IR/Operation.h" // from @llvm-project
33#include "mlir/IR/OperationSupport.h" // from @llvm-project
34#include "mlir/Pass/Pass.h" // from @llvm-project
35#include "mlir/Pass/PassManager.h" // from @llvm-project
36#include "xla/tsl/platform/env.h"
37#include "xla/tsl/platform/errors.h"
38#include "xla/tsl/platform/file_system.h"
39#include "xla/tsl/platform/statusor.h"
40#include "tsl/platform/path.h"
41#include "tsl/platform/stringpiece.h"
42
43namespace tensorflow {
⋯4 lines
English function-word token "that" lines 72–78
72:19…
73}
74
75// A simple wrapper of tsl::WritableFile so that mlir Pass infra can use it.
76class WritableFileWrapper : public llvm::raw_ostream {
77 public:
78 ~ …
English function-word token "have" lines 160–162
160:65… th the same
161 // name. E.g. a PassManager could have multiple Canonicalizer passes.
162 // We use this property to uniquely determine a Pass in a Pass …

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.