Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 159 for Operands (0.18 sec)

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

        }
    
        auto fused_loc = rewriter.getFusedLoc(locations);
    
        // The fused contraction has the same operands as the original contraction
        // with `bias` from the BiasAddOp appended.
        SmallVector<Value, 4> operands(contraction.operand_begin(),
                                       contraction.operand_end());
        operands.push_back(bias_add.getBias());
    
        // The fused contraction has the same attributes as the original
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h

    // immutable because they are from quantization-aware training.
    //
    // The algorithm traverses each op and sets the quantization parameters of its
    // operands and results, according to its quantization specification, and then
    // adds the operands and results to the worklist. If there are any conflicts
    // (for example, there are quantization parameters propagated from the previous
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:42:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc

        }
        // op has implict arguments not listed in operands.
        // Fact: if every op's operands are defined in the same block as op,
        //       then no operation has implicit arugments (constant doesn't count).
        for (auto operand : op->getOperands()) {
          if (mlir::dyn_cast_or_null<BlockArgument>(operand)) continue;
          auto operand_op = operand.getDefiningOp();
          if (IsConstant(operand_op)) continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. src/crypto/internal/bigmod/nat.go

    	keep := not(choice(underflow)) | choice(always)
    	x.assign(keep, t)
    }
    
    // Sub computes x = x - y mod m.
    //
    // The length of both operands must be the same as the modulus. Both operands
    // must already be reduced modulo m.
    func (x *Nat) Sub(y *Nat, m *Modulus) *Nat {
    	underflow := x.sub(y)
    	// If the subtraction underflowed, add m.
    	t := NewNat().set(x)
    	t.add(m.nat)
    	x.assign(choice(underflow), t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

      rewriter.replaceAllUsesExcept(result, new_value, new_value.getDefiningOp());
    }
    
    // Wrap operands in an an unrealized cast to create a cast to buffer any type
    // changes to the operand, and apply type converter to operands:
    //   V0 = op(operand)
    //   ==>
    //   V0 = unrealized_cast(operand)
    //   V1 = op(V0)
    void WrapOperandsInUnrealizedCastAndConvert(Operation *op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc

        // Collect operands of cluster op that are generated within the cluster.
        // These values should be returned by the cluster.
        cluster_op.walk([&](Operation* op) {
          for (Value operand : op->getOperands()) {
            Operation* operand_op = GetOpOfValue(operand);
            if (operand_op->getParentRegion() == cluster_region)
              cluster_results_set.insert(operand);
          }
        });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. src/go/types/operand.go

    	cgofunc:   "cgo function",
    }
    
    // An operand represents an intermediate value during type checking.
    // Operands have an (addressing) mode, the expression evaluating to
    // the operand, the operand's type, a value for constants, and an id
    // for built-in functions.
    // The zero value of operand is a ready to use invalid operand.
    type operand struct {
    	mode operandMode
    	expr ast.Expr
    	typ  Type
    	val  constant.Value
    	id   builtinId
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

          Value operand = op->getOperand(i);
          if (Operation* inst = operand.getDefiningOp()) {
            // If the operand comes from a `quantfork::DequantizeCastOp`, we use
            // the quantized input of this `quantfork::DequantizeCastOp` to set the
            // state.
            if (auto dq = dyn_cast<quantfork::DequantizeCastOp>(inst)) {
              operand = dq.getArg();
            }
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

    struct OpQuantSpec {
      // Maps the operand index of a bias input to its quantization specifications,
      // including the non-bias operand indexes and the method retrieving
      // quantization parameters from list of parameters of the non-bias operands.
      // This map is empty if the op doesn't have a bias operand.
      BiasParamsMap biases_params;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      // that was extracted..
    
      // Find the input edges to form the set of operands to the new function call.
      llvm::SetVector<Value> inputs;
      for (Operation* op : ops) {
        for (Value operand : op->getOperands()) {
          Operation* defining_op = operand.getDefiningOp();
          if (!ops.contains(defining_op)) inputs.insert(operand);
        }
      }
      // Find the output edges to form the set of resutls of the new function call.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top