Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 175 for Operands (0.13 sec)

  1. src/go/parser/testdata/issue44504.src

    // license that can be found in the LICENSE file.
    
    // Test case for go.dev/issue/44504: panic due to duplicate resolution of slice/index
    // operands. We should not try to resolve a LHS expression with invalid syntax.
    
    package p
    
    func _() {
      var items []bool
      items[] /* ERROR "operand" */ = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 410 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold.h

    namespace mlir {
    namespace quant {
    
    // Applies constant folding recursively if the operation and all of its operands
    // are foldable. Returns the constants generated by constant-folding or the
    // original operation's outputs if not folded.
    SmallVector<Value> ConstantFoldOpIfPossible(Operation* op);
    
    // This pattern tries to constant-fold the quantizable operands of supported
    // TF operations.
    struct ConstantFoldQuantizableOperands : public RewritePattern {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 04 14:27:31 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.h

      // within its purview are mutating in nature.
      void PropagatePotentiallyWrittenWithinUnhandledOp(Operation* op);
    
      // Given a Region associated with the callee and operands from the
      // corresponding callOp, propagate the potentially written decision to the
      // callOp's operands, if the corresponding region's arguments are potentially
      // written resources.
      void PropagatePotentiallyWrittenUpFromCallee(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/math/big/doc.go

    result is the receiver (usually named z in that case; see below); if it
    is one of the operands x or y it may be safely overwritten (and its memory
    reused).
    
    Arithmetic expressions are typically written as a sequence of individual
    method calls, with each call corresponding to an operation. The receiver
    denotes the result and the method arguments are the operation's operands.
    For instance, given three *Int values a, b and c, the invocation
    
    	c.Add(a, b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h

    // and have at least one operand, result type can be inferred using the first
    // operand's type.
    
    #define INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(Op)                \
      LogicalResult Op::inferReturnTypeComponents(                        \
          MLIRContext* context, std::optional<Location> location,         \
          ValueShapeRange operands, DictionaryAttr attributes,            \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 03 19:26:14 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/stateful_ops_utils.h

    #include <vector>
    
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    
    namespace mlir {
    namespace TFL {
    
    // Check if the given op has stateful operands and return their stateful
    // operand indices.
    bool IsStatefulOp(Operation* op, std::vector<int>* stateful_operand_indices);
    
    }  // namespace TFL
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.cc

    // Returns the RankedTensorType for the given operand. TensorFlow constant ops
    // may have non-static shape because the shape is not propagated during constant
    // folding. If the defining op for the given operand is a constant op, this
    // routine uses the constant op's attribute to get the actual shape.
    RankedTensorType GetRankedTensorTypeForOperand(Value operand) {
      DenseElementsAttr attr;
      if (matchPattern(operand, m_Constant(&attr))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc

          // original If op.
          if (op_to_inline.hasTrait<OpTrait::IsTerminator>()) {
            updated_results.reserve(op_to_inline.getNumOperands());
            for (Value operand : op_to_inline.getOperands())
              updated_results.push_back(mapper.lookup(operand));
            break;
          }
    
          // Otherwise, clone the op here.
          rewriter.clone(op_to_inline, mapper);
        }
        rewriter.replaceOp(op, updated_results);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/sets/set_test.go

    				s.Insert(randomStringMaker.makeString(here.minStringLen, here.maxStringLen))
    			}
    			return s
    		}
    		operands := make([]String, 500)
    		for i := range operands {
    			operands[i] = makeSet()
    		}
    		randOperand := func() String { return operands[rand.Intn(len(operands))] }
    
    		b.Run(fmt.Sprintf("insert-%v", here.size), func(b *testing.B) {
    			b.ReportAllocs()
    			for i := 0; i < b.N; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/analysis/tf_dataflow.h

      bool ForwardThroughTFOperation(Operation *op,
                                     ArrayRef<const StateT *> operands,
                                     ArrayRef<StateT *> results) {
        if (auto cast = dyn_cast<TF::CastOp>(op)) {
          this->join(results[0], *operands[0]);
        } else if (auto while_op = dyn_cast<TF::WhileRegionOp>(op)) {
          for (auto &region : while_op->getRegions()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top