Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 104 for lowerings (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_device.h

    namespace mlir {
    namespace tf_device {
    
    // The TensorFlow Device dialect.
    //
    // This dialect contains operations to describe/launch computations on devices.
    // These operations do not map 1-1 to TensorFlow ops and requires a lowering
    // pass later to transform them into Compile/Run op pairs, like XlaCompile and
    // XlaRun.
    class TensorFlowDeviceDialect : public Dialect {
     public:
      static StringRef getDialectNamespace() { return "tf_device"; }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 14:25:57 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

    using ::tensorflow::thread::ThreadPoolInterface;
    
    using ::tensorflow::tfrt_stub::FallbackTensor;
    
    // -------------------------------------------------------------------------- //
    // Run function via the TF->TFRT fallback lowering.
    // -------------------------------------------------------------------------- //
    
    namespace {
    // Thread pool for running `intra-op` tasks scheduled by the fallback kernels.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h

    // Creates an instance of the VerifyQuantLegalization pass, which verifies all
    // quant ops and types are lowered.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateVerifyQuantLegalizationPass();
    
    // Add all passes for lowering TF quant ops and types to MHLO int.
    void AddQuantizationLoweringPasses(mlir::OpPassManager &pm);
    
    // Creates an instance of OptimizeIntGraphPass, which optimizes the int graph
    // lowered from the quantized graph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 23 01:41:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/S390X.rules

    (Neg64F ...) => (FNEG ...)
    
    (Com64 ...) => (NOT ...)
    (Com(32|16|8) ...) => (NOTW ...)
    (NOT x) => (XOR (MOVDconst [-1]) x)
    (NOTW x) => (XORWconst [-1] x)
    
    // Lowering boolean ops
    (AndB ...) => (ANDW ...)
    (OrB ...) => (ORW ...)
    (Not x) => (XORWconst [1] x)
    
    // Lowering pointer arithmetic
    (OffPtr [off] ptr:(SP)) => (MOVDaddr [int32(off)] ptr)
    (OffPtr [off] ptr) && is32Bit(off) => (ADDconst [int32(off)] ptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.td

    limitations under the License.
    ==============================================================================*/
    
    // Declare bridge passes that perform legalization and/or lowering.
    
    include "mlir/Pass/PassBase.td"
    
    def ConvertTFQuantOpsToMHLO : Pass<"quant-convert-tf-quant-ops-to-mhlo", "mlir::func::FuncOp"> {
      let summary = "Convert TF Quant ops to MHLO quantizated ops.";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 23 01:41:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_pass.cc

      target.addLegalDialect<arith::ArithDialect>();
    
      if (failed(applyPartialConversion(getOperation(), target,
                                        std::move(patterns)))) {
        getOperation().emitError("Composite lowering pass failed.");
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    // Creates an instance of the pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreateCompositeLoweringPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. test/codegen/copy.go

    	// s390x:-".*memmove"
    	// amd64:-".*memmove"
    	// ppc64x:-".*memmove"
    	// ppc64x/power8:"LXVD2X"
    	// ppc64x/power9:"LXV",-"LXVD2X"
    	copy(a[:], a[128:])
    }
    
    // Check arch-specific memmove lowering. See issue 41662 fot details
    
    func moveArchLowering1(b []byte, x *[1]byte) {
    	_ = b[1]
    	// amd64:-".*memmove"
    	// arm64:-".*memmove"
    	// ppc64x:-".*memmove"
    	copy(b, x[:])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 14:09:29 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue18146.go

    		nproc = 7
    	}
    	if setNproc {
    		var rlim syscall.Rlimit
    		if syscall.Getrlimit(nproc, &rlim) == nil {
    			max := int(rlim.Cur) / (threads + 5)
    			if attempts > max {
    				t.Logf("lowering attempts from %d to %d for RLIMIT_NPROC", attempts, max)
    				attempts = max
    			}
    		}
    	}
    
    	if os.Getenv("test18146") == "exec" {
    		runtime.GOMAXPROCS(1)
    		for n := threads; n > 0; n-- {
    			go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (Neg64F x) => (PXOR x (MOVSDconst <typ.Float64> [math.Copysign(0, -1)]))
    
    // Lowering boolean ops
    (AndB ...) => (ANDL ...)
    (OrB ...) => (ORL ...)
    (Not x) => (XORLconst [1] x)
    
    // Lowering pointer arithmetic
    (OffPtr [off] ptr) && is32Bit(off) => (ADDQconst [int32(off)] ptr)
    (OffPtr [off] ptr) => (ADDQ (MOVQconst [off]) ptr)
    
    // Lowering other arithmetic
    (Ctz64 x)     && buildcfg.GOAMD64 >= 3 => (TZCNTQ x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // Pattern definition file for direct lowering of mhlo composites to tflite ops.
    include "mlir/IR/OpBase.td"
    include "mlir/Dialect/Arith/IR/ArithOps.td"
    include "mlir/Dialect/Func/IR/FuncOps.td"
    include "mhlo/IR/hlo_ops.td"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top