Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,179 for OP (0.06 sec)

  1. 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)
  2. 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)
  3. src/cmd/asm/internal/arch/loong64.go

    }
    
    // IsLoong64CMP reports whether the op (as defined by an loong64.A* constant) is
    // one of the CMP instructions that require special handling.
    func IsLoong64CMP(op obj.As) bool {
    	switch op {
    	case loong64.ACMPEQF, loong64.ACMPEQD, loong64.ACMPGEF, loong64.ACMPGED,
    		loong64.ACMPGTF, loong64.ACMPGTD:
    		return true
    	}
    	return false
    }
    
    // IsLoong64MUL reports whether the op (as defined by an loong64.A* constant) is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_tensorlist.cc

      LogicalResult matchAndRewrite(TF::TensorListPopBackOp op,
                                    PatternRewriter& rewriter) const override {
        // It is currently not possible to easily pack the output of a multi-result
        // op into an op with a single varidic output in `.td`.
        auto converted = rewriter.create<TFL::CustomOp>(
            op->getLoc(), op->getResultTypes(), op->getOperands(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_custom_aggregation_op_to_quant_stats.cc

      LogicalResult matchAndRewrite(TF::CustomAggregatorOp op,
                                    PatternRewriter &rewriter) const override {
        FloatAttr min = mlir::dyn_cast_or_null<FloatAttr>(op->getAttr("min"));
        FloatAttr max = mlir::dyn_cast_or_null<FloatAttr>(op->getAttr("max"));
    
        // When there are no min and max attributes, remove op.
        if (min == nullptr || max == nullptr) {
          op.getOutput().replaceAllUsesWith(op.getInput());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

      for (Operation& op : block.without_terminator()) {
        StringRef shared_name = GetSharedName(&op);
        if (shared_name.empty() || !IsHashTableOp(&op)) continue;
        if (!IsResourceInitialized(module_op, &op)) continue;
    
        auto it =
            shared_name_to_arg_idx.insert({shared_name, block.getNumArguments()});
        if (it.second) {
          auto resource_type = op.getResult(0).getType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

        int quantize_operand_num = quant_op.second;
    
        Type expressed_type = op.getResult().getType();
        Type cast_type = quant_type.castFromExpressedType(expressed_type);
    
        // Insert DQ-op if it does not exist yet. Otherwise, just rewire without
        // creating a new DQ-op.
        for (auto connected_op : op->getUsers()) {
          auto q_op =
              llvm::dyn_cast_or_null<quantfork::QuantizeCastOp>(connected_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. cmd/http-tracer.go

    	op = strings.Replace(op, "(*stsAPIHandlers)", "sts", 1)
    	op = strings.Replace(op, "(*peerS3Server)", "s3", 1)
    	op = strings.Replace(op, "ClusterCheckHandler", "health.Cluster", 1)
    	op = strings.Replace(op, "ClusterReadCheckHandler", "health.ClusterRead", 1)
    	op = strings.Replace(op, "LivenessCheckHandler", "health.Liveness", 1)
    	op = strings.Replace(op, "ReadinessCheckHandler", "health.Readiness", 1)
    	op = strings.Replace(op, "-fm", "", 1)
    	return op
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/smuggle_disallowed_ops.cc

      SmallVector<NamedAttribute> attrs{op->getAttrs()};
      attrs.push_back(call_target);
      auto custom_call = rewriter.create<mlir::stablehlo::CustomCallOp>(
          op->getLoc(), op->getResultTypes(), op->getOperands(), attrs);
      rewriter.replaceOp(op, custom_call.getResults());
      return success();
    }
    
    }  // namespace
    
    template <typename OpTy>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 01:14:04 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

        for (auto& op : graph->operators) {
          for (int idx = 0; idx < op->inputs.size(); idx++) {
            if (op->inputs[idx] < 0) {
              continue;
            }
            const auto& tensor = graph->tensors[op->inputs[idx]];
            auto* expected_tensor = FindMatchingExpectedTensor(
                *expected_graph, expected_model, model, *op, idx);
            if (!expected_tensor) {
              continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
Back to top