Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,255 for OP (0.2 sec)

  1. src/cmd/compile/internal/ssa/nilcheck.go

    			// before the slice access (and all cap>0 slices have a non-nil ptr). See #30366.
    			if v.Op == OpAddr || v.Op == OpLocalAddr || v.Op == OpAddPtr || v.Op == OpOffPtr || v.Op == OpAdd32 || v.Op == OpAdd64 || v.Op == OpSub32 || v.Op == OpSub64 || v.Op == OpSlicePtr {
    				nonNilValues[v.ID] = v
    			}
    		}
    	}
    
    	for changed := true; changed; {
    		changed = false
    		for _, b := range f.Blocks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.cc

      if (isa<func::ConstantOp, mlir::stablehlo::ConstantOp>(op)) {
        // Constant ops do not have QuantizableResult attribute but can be
        // quantized.
        return true;
      } else if (op->hasTrait<OpTrait::IsTerminator>() ||
                 isa<quantfork::QuantizeCastOp, quantfork::DequantizeCastOp>(op)) {
        // Terminators, qcast and decast are not quantizable.
        return false;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. src/regexp/syntax/prog.go

    	for i.Op == InstNop || i.Op == InstCapture {
    		i = &p.Inst[i.Out]
    	}
    	return i
    }
    
    // op returns i.Op but merges all the Rune special cases into InstRune
    func (i *Inst) op() InstOp {
    	op := i.Op
    	switch op {
    	case InstRune1, InstRuneAny, InstRuneAnyNotNL:
    		op = InstRune
    	}
    	return op
    }
    
    // Prefix returns a literal string that all matches for the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. tensorflow/c/c_test_util.cc

                      TF_Status* s, const char* name) {
      TF_Operation* op;
      AddOpHelper(l, r, graph, s, name, &op, true);
      return op;
    }
    
    TF_Operation* AddNoCheck(TF_Operation* l, TF_Operation* r, TF_Graph* graph,
                             TF_Status* s, const char* name) {
      TF_Operation* op;
      AddOpHelper(l, r, graph, s, name, &op, false);
      return op;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:52 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    LogicalResult ShapeNOp::verify() {
      ShapeNOp op = *this;
      const size_t num_tensors = op.getN();
    
      if (op.getNumOperands() != num_tensors)
        return op.emitOpError() << "requires " << num_tensors << " operand(s), got "
                                << op.getNumOperands() << " operand(s)";
    
      if (op.getNumResults() != num_tensors)
        return op.emitOpError() << "requires " << num_tensors << " result(s), got "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

        lstm_variant->op_code =
            tflite::BuiltinOperator_UNIDIRECTIONAL_SEQUENCE_LSTM;
      } else {
        op.emitError("ConvertLstmStatsToQDQs pass only supports LSTMs.");
        return failure();
      }
      lstm_variant->use_projection =
          !mlir::isa<NoneType>(op.getProjectionWeights().getType());
      lstm_variant->use_peephole =
          !mlir::isa<NoneType>(op.getCellToOutputWeights().getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteARM64.go

    		v.Op = OpARM64MULW
    		return true
    	case OpMul32F:
    		v.Op = OpARM64FMULS
    		return true
    	case OpMul64:
    		v.Op = OpARM64MUL
    		return true
    	case OpMul64F:
    		v.Op = OpARM64FMULD
    		return true
    	case OpMul8:
    		v.Op = OpARM64MULW
    		return true
    	case OpNeg16:
    		v.Op = OpARM64NEG
    		return true
    	case OpNeg32:
    		v.Op = OpARM64NEG
    		return true
    	case OpNeg32F:
    		v.Op = OpARM64FNEGS
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/post_quantize.cc

          // requantize op to remove the unnecessary requantize op.
          if (const QuantizedType qtype =
                  QuantizedType::getQuantizedElementType(q.getArg().getType())) {
            rewriter.setInsertionPoint(op);
            rewriter.replaceOpWithNewOp<quantfork::DequantizeCastOp>(
                op, op.getResult().getType(), q.getArg());
            return success();
          }
    
          op.replaceAllUsesWith(q.getArg());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

      func_.walk([&](quantfork::QuantizeRegionOp op) { all_ops.push_back(op); });
      return all_ops;
    }
    
    KernelSpecs::Signature QuantizeContext::GetSignature(
        quantfork::QuantizeRegionOp op) {
      KernelSpecs::Signature signature;
      signature.reserve(op.getInputSpecs().size() + op.getOutputSpecs().size());
      for (int i = 0; i < op.getNumOperands(); ++i) {
        DeviceTarget::AppendToSignature(GetOperandParams(op, i), &signature);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

      op->walk([&](Operation *op) {
        if (op->getDialect()->getNamespace() != "vhlo") return;
    
        // Convert operands
        rewriter.modifyOpInPlace(op, [&]() {
          rewriter.setInsertionPoint(op);
          WrapOperandsInUnrealizedCastAndConvert(op, converter, rewriter);
    
          // Convert op types
          for (auto value : op->getResults()) {
            rewriter.setInsertionPointAfter(value.getDefiningOp());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top