Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 773 for dialects (0.23 sec)

  1. 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)
  2. tests/gorm_test.go

    	if err == nil {
    		t.Fatalf("should returns error but got nil")
    	}
    }
    
    func TestReturningWithNullToZeroValues(t *testing.T) {
    	dialect := DB.Dialector.Name()
    	switch dialect {
    	case "mysql", "sqlserver":
    		// these dialects do not support the "returning" clause
    		return
    	default:
    		// This user struct will leverage the existing users table, but override
    		// the Name field to default to null.
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jun 01 07:22:21 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/g3doc/tf_dialects.md

    }
    ```
    
    ## TensorFlow Executor Dialect
    
    The `tf_executor` dialect is intended to model the current TensorFlow executor
    semantics and (when combined with the `tf` dialect) can represent arbitrary
    TensorFlow 1.x and 2.x graphs. As such it follows the executor model, including
    deadness propagation, concurrent semantics, and control dependencies. The
    `tf_executor` dialect defines two dialect-specific types:
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 16K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

    class ConvertTfQuantToMhloIntTest : public Test {
     protected:
      void SetUp() override {
        DialectRegistry dialects;
        dialects.insert<TF::TensorFlowDialect, func::FuncDialect, chlo::ChloDialect,
                        mhlo::MhloDialect, quant::QuantizationDialect>();
        ctx_ = std::make_unique<MLIRContext>(dialects);
        ctx_->loadAllAvailableDialects();
    
        // Create a CPU client with 1 device.
        TF_ASSERT_OK_AND_ASSIGN(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  7. 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)
  8. tests/sql_builder_test.go

    }
    
    func TestToSQL(t *testing.T) {
    	// By default DB.DryRun should false
    	if DB.DryRun {
    		t.Fatal("Failed expect DB.DryRun to be false")
    	}
    
    	if DB.Dialector.Name() == "sqlserver" {
    		t.Skip("Skip SQL Server for this test, because it too difference with other dialects.")
    	}
    
    	date, _ := time.ParseInLocation("2006-01-02", "2021-10-18", time.Local)
    
    	// find
    	sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // after the legalize below, for now it needs to be below the above passes
      // that work on TF dialect and before inliner so that the function calls in
      // body and cond are inlined for optimization.
      pass_manager->addPass(mlir::TFL::CreateLegalizeTFWhilePass());
    
      // Add function inlining pass. Both TF and TFLite dialects are opted into
      // function inliner interface.
      pass_manager->addPass(mlir::createInlinerPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

    """Base test class for quantize_model Tests."""
    
    from typing import List, Mapping, Optional, Sequence, Tuple
    
    from absl.testing import parameterized
    from mlir import ir
    from mlir.dialects import stablehlo as stablehlo_dialect
    import numpy as np
    import tensorflow  # pylint: disable=unused-import
    
    from tensorflow.compiler.mlir.stablehlo import stablehlo
    from tensorflow.python.eager import def_function
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top