Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 83 for lowerings (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

              GetEinsumDimensionNumbersUnary(op.getEquation(), lhs)) {
        return rewriteToReduceSumAndTranspose(op, dnums_or.value(), rewriter);
      }
    
      return rewriter.notifyMatchFailure(op, "unsupported einsum lowering");
    }
    
    #define GEN_PASS_DEF_TRANSFORMEINSUMPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    // Transform Einsum to other TF Ops for the supported variants.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Lowering arithmetic
    (Add(Ptr|64|32|16|8) ...) => (ADD ...)
    (Add(64|32)F ...) => (FADD(D|S) ...)
    
    (Sub(Ptr|64|32|16|8) ...) => (SUB ...)
    (Sub(64|32)F ...) => (FSUB(D|S) ...)
    
    (Mul64 ...) => (MUL  ...)
    (Mul64uhilo ...) => (LoweredMuluhilo ...)
    (Mul64uover ...) => (LoweredMuluover ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-prefer-tf2xla.mlir

    // -----
    
    // CHECK-LABEL: func @random_uniform_simple
    func.func @random_uniform_simple(%arg0: tensor<3xi32>) -> tensor<12x?x64xf32> {
      // expected-remark@+1 {{lowering requires operand #0 to be a constant}}
      %0 = "tf.RandomUniform"(%arg0) {device = "", seed = 0 : i64, seed2 = 0 : i64} : (tensor<3xi32>) -> tensor<12x?x64xf32>
      func.return %0 : tensor<12x?x64xf32>
    }
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

      float half_range = is_unsigned ? 0 : 128;
      return GetScalarOfType(builder->getF32Type(), half_range);
    }
    
    // Returns reduction indices to use while lowering tf.BiasAddGrad op to tf.Sum
    // op.
    DenseIntElementsAttr GetBiasAddGradReductionIndices(int64_t rank,
                                                        StringAttr data_format,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc

        auto ranked_ty = mlir::dyn_cast<ShapedType>(ty);
        // Only bounded operands are supported in the XLA builders.
        if (!IsBounded(ranked_ty)) {
          return op_->emitRemark()
                 << "lowering requires bounded tensor operands " << ranked_ty;
        }
      }
    
      if (HasSymbolRefAttr(op_)) {
        return op_->emitRemark() << "ops with symbol references are not supported";
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

                              bool preserve_assert_op) {
        this->run_tfl_runtime_verification_ = run_tfl_runtime_verification;
        this->preserve_assert_op_ = preserve_assert_op;
      }
    
      /// Performs the lowering to TFLite dialect.
      void runOnOperation() override;
    };
    
    // Util that casts 'val' to Int32 by adding a cast Op.
    Value CreateCastToInt32(Value val, Location loc, PatternRewriter& rewriter) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/sccp.go

    	constValue.reset(OpInvalid)
    	return lattice{bottom, nil}
    }
    
    func (t *worklist) visitValue(val *Value) {
    	if !possibleConst(val) {
    		// fast fail for always worst Values, i.e. there is no lowering happen
    		// on them, their lattices must be initially worse Bottom.
    		return
    	}
    
    	oldLt := t.getLatticeCell(val)
    	defer func() {
    		// re-visit all uses of value if its lattice is changed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.cc

          TypeID::get<TF::AssertOp>(),
    
          // TF2XLA fallback pattern doesn't support these op as MLIR hlo builder
          // doesn't override the necessary builder methods. These ops have simple
          // lowering pattern so this should be safe.
          TypeID::get<TF::CrossReplicaSumOp>(),
          TypeID::get<TF::InfeedDequeueTupleOp>(),
          TypeID::get<TF::OutfeedEnqueueTupleOp>(),
          TypeID::get<TF::XlaShardingOp>(),
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/dwarfgen/dwinl.go

    				// In the top-level case (ii=0) this can happen
    				// because a composite variable was split into pieces,
    				// and we're looking at a piece. We can also see
    				// return temps (~r%d) that were created during
    				// lowering, or unnamed params ("_").
    				v.ChildIndex = int32(synthCount)
    				synthCount++
    			}
    		}
    	}
    
    	// Make a second pass through the progs to compute PC ranges for
    	// the various inlined calls.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    //===----------------------------------------------------------------------===//
    // Inv op patterns.
    //===----------------------------------------------------------------------===//
    
    def LowerInv : Pat<(TF_InvOp $x), (TF_ReciprocalOp $x)>;
    
    //===----------------------------------------------------------------------===//
    // Inf op patterns.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top