- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 332 for dialects (0.12 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/stablehlo_util.cc
std::vector<std::string> GetAcceptedStableHLODialects() { // It returns the default list of accepted dialects. std::vector<std::string> accepted_dialects({"stablehlo", "builtin", "func"}); return accepted_dialects; } std::vector<std::string> GetAcceptedTFLiteDialects() { // It returns the default list of accepted dialects. std::vector<std::string> accepted_dialects({"tfl", "builtin", "func"}); return accepted_dialects; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 24 21:06:11 UTC 2023 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc
// requantizing if a quantized output is required. // // The motivation behind these changes is for Dialects that assume only float // or quantized computation, and do not support a mixture of these types on // dense operations. Decomposition allows TFLite to be compiled to these // dialects, such as TOSA. #include <utility> #include "mlir/Dialect/Quant/QuantTypes.h" // from @llvm-project #include "mlir/IR/BuiltinAttributes.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc
void SetUp() override { tsl::setenv("TF_QUANT_MLIR_DUMP_PREFIX", test_dir_.c_str(), 1); mlir::DialectRegistry dialects; dialects.insert<mlir::BuiltinDialect, mlir::func::FuncDialect, mlir::stablehlo::StablehloDialect>(); ctx_ = std::make_unique<mlir::MLIRContext>(dialects); ctx_->loadAllAvailableDialects(); } void TearDown() override { // Delete files in the test directory.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 03:17:14 UTC 2024 - 6.4K bytes - Viewed (0) -
src/internal/runtime/exithook/hooks.go
// allowed, etc), and that the exit function F will be invoked under // similar circumstances. That is the say, we are expecting that F // uses normal / high-level Go code as opposed to one of the more // restricted dialects used for the trickier parts of the runtime. package exithook import ( "internal/runtime/atomic" _ "unsafe" // for linkname ) // A Hook is a function to be run at program termination
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/op_stat_pass.cc
SmallVector<StringRef, 64> sorted_dialect(dialect_count_.keys()); llvm::sort(sorted_op); llvm::sort(sorted_dialect); *os_ << " * Accepted dialects: "; int num_dialect = 0; // Print the accepted dialect list. for (const auto &dialect_name : accepted_dialects_) { *os_ << dialect_name; if (++num_dialect < accepted_dialects_.size()) { *os_ << ", "; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/integration_test/tensorflow_to_stablehlo_test.py
# limitations under the License. # ============================================================================== import tempfile from mlir import ir from mlir.dialects import stablehlo import tensorflow as tf from tensorflow.compiler.mlir.tensorflow_to_stablehlo.python import pywrap_tensorflow_to_stablehlo as tensorflow_to_stablehlo from tensorflow.python.platform import test
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 22:58:42 UTC 2024 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.h
namespace mlir { class ShapedType; } // namespace mlir namespace tensorflow { using tsl::StatusOr; // Add custom op prefix for TensorFlow dialects. Status AddTensorFlowOpPrefix(std::string); // Maps an MLIR op name in the TensorFlow dialect or the TensorFlow control // dialect back into a TensorFlow valid op name. absl::StatusOr<llvm::StringRef> GetTensorFlowOpName(llvm::StringRef);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/BUILD
# Description: # TensorFlow/TensorFlow Lite/XLA MLIR dialects and tools. load( "//tensorflow:tensorflow.bzl", "tf_cc_binary", "tf_cc_test", ) load("//tensorflow:tensorflow.default.bzl", "filegroup") load("//tensorflow/core/platform:rules_cc.bzl", "cc_library") package( # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"], default_visibility = ["//visibility:public"], licenses = ["notice"],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 9.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc
#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/SMLoc.h" #include "llvm/Support/SourceMgr.h" #include "mlir/Dialect/Arith/IR/Arith.h" // from @llvm-project #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project #include "mlir/Dialect/SCF/IR/SCF.h" // from @llvm-project #include "mlir/Dialect/Shape/IR/Shape.h" // from @llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 29 02:34:43 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf_passes.td
// Declare passes used in xla_legalize_tf. include "mlir/Pass/PassBase.td" def LegalizeTF : Pass<"xla-legalize-tf", "ModuleOp"> { let summary = "Legalize from TF dialect's or HLO dialect's control flow."; let description = [{ Legalizes from TF dialect to HLO dialect. When allow_partial_conversion is false, emits an error if there is any operation that can't be legalized.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 17:44:14 UTC 2024 - 4.3K bytes - Viewed (0)