Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for OP (0.04 sec)

  1. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        mlir::Operation *op = use.getOwner();
        if (llvm::isa<TF::TensorListGetItemOp>(op) ||
            llvm::isa<TF::TensorListLengthOp>(op) ||
            llvm::isa<TF::TensorListPushBackOp>(op) ||
            llvm::isa<TF::TensorListReserveOp>(op) ||
            llvm::isa<TF::TensorListSetItemOp>(op) ||
            llvm::isa<TF::TensorListStackOp>(op) ||
            llvm::isa<TF::TensorListResizeOp>(op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

    }
    
    // Returns true if this is a basic LSTM op.
    bool IsBasicLSTMOp(tflite::BuiltinOptionsUnion op_union) {
      if (const auto* op = op_union.AsLSTMOptions()) {
        return op->kernel_type == tflite::LSTMKernelType_BASIC;
      } else {
        return false;
      }
    }
    
    // Gets the MLIR op name with the dialect name for the flatbuffer operator.
    std::string GetMlirOpName(const tflite::OperatorT& op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

    // Returns success if all the operations in the `op`'s regions including `op`
    // itself are legal in a TFLite pipeline.
    LogicalResult ValidateOp(Operation *op) {
      bool has_illegal_ops = false;
      op->walk([&](Operation *op) {
        if (isa<TF::VariableV2Op>(op)) {
          has_illegal_ops = true;
          op->emitOpError() << "is illegal in a TFLite pipeline";
        }
      });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ppc64/ssa.go

    		// then clear remaining sizes as available
    		for rem > 0 {
    			op, size := ppc64.AMOVB, int64(1)
    			switch {
    			case rem >= 8:
    				op, size = ppc64.AMOVD, 8
    			case rem >= 4:
    				op, size = ppc64.AMOVW, 4
    			case rem >= 2:
    				op, size = ppc64.AMOVH, 2
    			}
    			p := s.Prog(op)
    			p.From.Type = obj.TYPE_REG
    			p.From.Reg = ppc64.REG_R0
    			p.To.Type = obj.TYPE_MEM
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      defm : FuseActFnIntoConvOpPat<!cast<Op>(actFnPair[0]), !cast<ConstantStrAttr>(actFnPair[1])>;
      defm : FuseActFnIntoPoolOpPat<!cast<Op>(actFnPair[0]), !cast<ConstantStrAttr>(actFnPair[1])>;
    }
    
    class CanFuseConvOrDepthwiseConv<string is_depthwise> : Constraint<
      CPred<"TFL::CanFuseConvOrDepthwiseConv($0, $1, " # is_depthwise # ")">>;
    
    // If we see a binary op (add, sub) op adding a constant value to a convolution
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  7. src/go/types/expr.go

    		}
    		x.val = constant.UnaryOp(op, x.val, prec)
    		x.expr = e
    		check.overflow(x, x.Pos())
    		return
    	}
    
    	x.mode = value
    	// x.typ remains unchanged
    }
    
    func isShift(op token.Token) bool {
    	return op == token.SHL || op == token.SHR
    }
    
    func isComparison(op token.Token) bool {
    	// Note: tokens are not ordered well to make this much easier
    	switch op {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite.go

    	// then they can't overlap.
    	switch p1.Op {
    	case OpAddr, OpLocalAddr:
    		if p2.Op == OpAddr || p2.Op == OpLocalAddr || p2.Op == OpSP {
    			return true
    		}
    		return (p2.Op == OpArg || p2.Op == OpArgIntReg) && p1.Args[0].Op == OpSP
    	case OpArg, OpArgIntReg:
    		if p2.Op == OpSP || p2.Op == OpLocalAddr {
    			return true
    		}
    	case OpSP:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/expr.go

    	if e, _ := x.(*syntax.Operation); e != nil {
    		op := int(e.Op)
    		if e.Y == nil {
    			if op < len(op2str1) {
    				return op2str1[op]
    			}
    		} else {
    			if op < len(op2str2) {
    				return op2str2[op]
    			}
    		}
    	}
    	return ""
    }
    
    var op2str1 = [...]string{
    	syntax.Xor: "bitwise complement",
    }
    
    // This is only used for operations that may cause overflow.
    var op2str2 = [...]string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/parser.go

    			break // unary expr
    		}
    		switch x.Op {
    		case Mul:
    			if name, _ := x.X.(*Name); name != nil && (force || isTypeElem(x.Y)) {
    				// x = name *x.Y
    				op := *x
    				op.X, op.Y = op.Y, nil // change op into unary *op.Y
    				return name, &op
    			}
    		case Or:
    			if name, lhs := extractName(x.X, force || isTypeElem(x.Y)); name != nil && lhs != nil {
    				// x = name lhs|x.Y
    				op := *x
    				op.X = lhs
    				return name, &op
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top