Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,255 for OP (0.06 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc

      LogicalResult match(Operation* op) const override {
        if (op->getNumResults() != 1) {
          return failure();
        }
        auto type = mlir::cast<TensorType>(op->getResult(0).getType());
        if (!type || !type.getElementType().isF32()) {
          return failure();
        }
        return success(
            op->hasOneUse() &&
            IsWeightQuantizableFunction(*op->getUses().begin(), type.getRank()));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h

      // Runs the analysis and populates `control_predecessors_` for `op`.
      void AnalyzeOp(Operation* op);
    
      // Updates `control_predecessors_` for given `resource_id` and `op`.
      void AddPredecessorsForAccess(ResourceId resource_id, Operation* op,
                                    bool read_only);
    
      // Updates resource access for given `resource_id` and `op` in
      // `per_resource_access_info_` and `op_to_resource_ids_`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. internal/grid/msg.go

    	"github.com/zeebo/xxh3"
    )
    
    // Op is operation type.
    //
    //go:generate msgp -unexported -file=$GOFILE
    //go:generate stringer -type=Op -output=msg_string.go -trimprefix=Op $GOFILE
    
    // Op is operation type messages.
    type Op uint8
    
    // HandlerID is the ID for the handler of a specific type.
    type HandlerID uint8
    
    const (
    	// OpConnect is a connect request.
    	OpConnect Op = iota + 1
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 28 19:22:29 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h

    // Returns the entry function name for the given tf.XlaCallModule op. Returns
    // empty string if such attribute does not exist.
    StringRef GetEntryFunctionName(TF::XlaCallModuleOp op);
    
    // Checks whether the given op contains QuantizationTrait::FullyQuantizable.
    inline bool HasQuantizableTrait(Operation* op) {
      return op->hasAttrOfType<StringAttr>(kQuantTraitAttrName) &&
             op->getAttrOfType<StringAttr>(kQuantTraitAttrName).getValue().str() ==
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold.cc

    SmallVector<Value> ConstantFoldOpIfPossible(Operation* op) {
      if (!IsOperationFoldable(op)) return op->getResults();
    
      OpBuilder builder(op);
      SmallVector<Value> results;
      if (failed(FoldOperation(builder, op, results))) {
        return op->getResults();
      }
      return results;
    }
    
    LogicalResult ConstantFoldQuantizableOperands::matchAndRewrite(
        Operation* op, PatternRewriter& rewriter) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h

    // to an instance of an operation (e.g. TensorFlow runtime operation caching),
    // `op` can be set instead.
    struct ResourceHandle {
      ResourceHandle(StringRef container, StringRef name, StringRef device,
                     Operation* op)
          : container(container), name(name), device(device), op(op) {}
    
      bool operator==(const ResourceHandle& rhs) const {
        return container == rhs.container && name == rhs.name &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 03 19:26:14 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. tensorflow/cc/gradients/math_grad.cc

      return BinaryGradCommon(scope, op, grad_outputs, gx_1, gx_2);
    }
    
    Status MaximumGrad(const Scope& scope, const Operation& op,
                       const std::vector<Output>& grad_inputs,
                       std::vector<Output>* grad_outputs) {
      auto comparator = GreaterEqual(scope, op.input(0), op.input(1));
      return MaximumMinimumGradCommon(scope, op, grad_inputs, grad_outputs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewritePPC64.go

    func rewriteValuePPC64(v *Value) bool {
    	switch v.Op {
    	case OpAbs:
    		v.Op = OpPPC64FABS
    		return true
    	case OpAdd16:
    		v.Op = OpPPC64ADD
    		return true
    	case OpAdd32:
    		v.Op = OpPPC64ADD
    		return true
    	case OpAdd32F:
    		v.Op = OpPPC64FADDS
    		return true
    	case OpAdd64:
    		v.Op = OpPPC64ADD
    		return true
    	case OpAdd64F:
    		v.Op = OpPPC64FADD
    		return true
    	case OpAdd8:
    		v.Op = OpPPC64ADD
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteS390X.go

    		v.Op = OpS390XMULLD
    		return true
    	case OpMul64F:
    		v.Op = OpS390XFMUL
    		return true
    	case OpMul64uhilo:
    		v.Op = OpS390XMLGR
    		return true
    	case OpMul8:
    		v.Op = OpS390XMULLW
    		return true
    	case OpNeg16:
    		v.Op = OpS390XNEGW
    		return true
    	case OpNeg32:
    		v.Op = OpS390XNEGW
    		return true
    	case OpNeg32F:
    		v.Op = OpS390XFNEGS
    		return true
    	case OpNeg64:
    		v.Op = OpS390XNEG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

          rewriter.replaceOpWithNewOp<tf_device::ReturnOp>(return_op, cluster_vals);
    
      // Rewrite the cluster op.
      rewriter.setInsertionPoint(op);
      auto new_op = rewriter.create<tf_device::ClusterOp>(
          op->getLoc(), new_return.getOperandTypes(), op->getOperands(),
          op->getAttrs());
      rewriter.inlineRegionBefore(op.getBodyRegion(), new_op.getBodyRegion(),
                                  new_op.getBodyRegion().end());
    
      int idx = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top