Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 91 for raw_ostream (0.26 sec)

  1. tensorflow/compiler/mlir/tfr/passes/canonicalize.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <cstdint>
    #include <iterator>
    #include <memory>
    
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Conversion/SCFToControlFlow/SCFToControlFlow.h"  // from @llvm-project
    #include "mlir/Dialect/Affine/LoopUtils.h"  // from @llvm-project
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf_mlir_translate_main.cc

          return 1;
        }
    
        // Processes the memory buffer with a new MLIRContext.
        auto processBuffer = [&](std::unique_ptr<llvm::MemoryBuffer> ownedBuffer,
                                 llvm::raw_ostream& os) {
          auto sourceMgr = std::make_shared<llvm::SourceMgr>();
          sourceMgr->AddNewSourceBuffer(std::move(ownedBuffer), llvm::SMLoc());
          mlir::MLIRContext context;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util_test.cc

                                        /*custom_legalization_passes*/ {});
    
      std::string pass_description;
      llvm::raw_string_ostream raw_stream(pass_description);
      pass_manager.printAsTextualPipeline(raw_stream);
    
      EXPECT_THAT(pass_description, HasSubstr(kLegalizeTfPass));
    }
    
    TEST(CompileMlirUtil, DoesNotHaveLegalizationPass) {
      OpPassManager pass_manager;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 19:54:38 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/colocate_tpu_copy_with_dynamic_shape.cc

        const auto *otherDevice = reinterpret_cast<const Device *>(&other);
        if (otherDevice->device_) {
          return SetDevice(otherDevice->device_);
        }
        return ChangeResult::NoChange;
      }
    
      void print(raw_ostream &os) const override {
        if (device_) {
          os << "<" << device_ << ">";
        } else {
          os << "<no device>";
        }
      }
    
      ChangeResult SetDevice(mlir::StringAttr device) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 00:30:27 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <string>
    
    #include "absl/status/status.h"
    #include "absl/status/statusor.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/Quant/QuantOps.h"  // from @llvm-project  // IWYU pragma: keep
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/transforms/cost_model.cc

    #include <algorithm>
    #include <cstdint>
    #include <memory>
    #include <string>
    
    #include "absl/strings/str_cat.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/cc/report.cc

    #include <optional>
    #include <string>
    #include <utility>
    
    #include "absl/status/status.h"
    #include "absl/status/statusor.h"
    #include "absl/strings/str_cat.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinAttributes.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.cc

    #include <memory>
    
    #include "absl/status/statusor.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/Debug.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinAttributes.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/legalize_hashtables.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <optional>
    #include <utility>
    
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

          return success();
        if (constraint == ValueConstraint::kShape && tensor.hasStaticShape())
          return success();
      }
    
      return failure();
    }
    
    raw_ostream &operator<<(raw_ostream &os, const ValueConstraint &constraint) {
      auto str = [](ValueConstraint constraint) -> StringRef {
        switch (constraint) {
          case ValueConstraint::kRank:
            return "rank";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top