Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for raw_ostream (0.24 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.cc

    #include <sstream>
    #include <string>
    #include <vector>
    
    #include "absl/strings/numbers.h"
    #include "absl/strings/str_split.h"
    #include "absl/strings/string_view.h"
    #include "llvm/Support/Debug.h"
    #include "llvm/Support/raw_ostream.h"
    #include "tensorflow/core/framework/types.pb.h"
    
    // Returns whether the given dtype is a quantization type in TensorFlow.
    static bool IsQuantizationType(tensorflow::DataType dtype) {
      switch (dtype) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/utils/utils.cc

    #include "absl/strings/string_view.h"
    #include "llvm/Support/MemoryBuffer.h"
    #include "llvm/Support/SMLoc.h"
    #include "llvm/Support/SourceMgr.h"
    #include "llvm/Support/ToolOutputFile.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    #include "mlir/Dialect/Func/Extensions/AllExtensions.h"  // from @llvm-project
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 03:47:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo_translate.cc

    #include "absl/strings/match.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/str_split.h"
    #include "llvm/Support/CommandLine.h"
    #include "llvm/Support/ToolOutputFile.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/DialectRegistry.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo_lib.cc

    #include <vector>
    
    #include "absl/status/status.h"
    #include "absl/status/statusor.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/string_view.h"
    #include "llvm/Support/ToolOutputFile.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Bytecode/BytecodeWriter.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/DialectRegistry.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top