Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 521 for Operands (0.26 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/executor_canonicalize.mlir

        }
        tf_executor.fetch %0 : !tf_executor.control
      }
      func.return
    }
    
    // CHECK-NEXT: return
    
    
    // Test empty island with no operands and no data result user is removed.
    // Control result users should also have their respective operands removed.
    // CHECK-LABEL: func @empty_island_no_operand_no_data_result
    func.func @empty_island_no_operand_no_data_result() {
      tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 04 14:07:37 UTC 2022
    - 13.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h

        constant_fold_hook_ = std::move(fn);
      }
    
      static LogicalResult constantFold(Operation *op, ArrayRef<Attribute> operands,
                                        SmallVectorImpl<OpFoldResult> &results) {
        if (constant_fold_hook_) return constant_fold_hook_(op, operands, results);
        return failure();
      }
    
      static bool HasConstantFoldHook() { return constant_fold_hook_; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. test/fixedbugs/issue6671.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 6671: Logical operators should produce untyped bool for untyped operands.
    
    package p
    
    type mybool bool
    
    func _(x, y int) {
    	type mybool bool
    	var b mybool
    	_ = b
    	b = bool(true)             // ERROR "cannot use"
    	b = true                   // permitted as expected
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.h

    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    
    namespace mlir {
    namespace TF {
    
    LogicalResult ConstantFoldFallbackHook(
        Operation *inst, ArrayRef<Attribute> operands,
        SmallVectorImpl<OpFoldResult> &results);  // NOLINT
    
    }  // namespace TF
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Dec 14 20:04:38 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/converter_gen.cc

           << "const std::vector<int32_t>& operands,"
           << "const std::vector<int32_t>& results,"
           << (has_intermediates ? "const std::vector<int32_t>& intermediate_index,"
                                 : "")
           << "flatbuffers::FlatBufferBuilder *fbb) {\n";
    
        // Inputs & outputs
        os << "  auto inputs = fbb->CreateVector(operands);\n"
              "  auto outputs = fbb->CreateVector(results);\n\n";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/expr.go

    // If an error occurs, x.mode is set to invalid.
    func (check *Checker) matchTypes(x, y *operand) {
    	// mayConvert reports whether the operands x and y may
    	// possibly have matching types after converting one
    	// untyped operand to the type of the other.
    	// If mayConvert returns true, we try to convert the
    	// operands to each other's types, and if that fails
    	// we report a conversion failure.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  7. src/go/types/operand.go

    	cgofunc:   "cgo function",
    }
    
    // An operand represents an intermediate value during type checking.
    // Operands have an (addressing) mode, the expression evaluating to
    // the operand, the operand's type, a value for constants, and an id
    // for built-in functions.
    // The zero value of operand is a ready to use invalid operand.
    type operand struct {
    	mode operandMode
    	expr ast.Expr
    	typ  Type
    	val  constant.Value
    	id   builtinId
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    // operand.
    class TF_DerivedOperandSizeAttr<int idx> : DerivedAttr<
      "size_t",
      "auto range = getODSOperands(" # idx # ");\n"
      "return std::distance(range.begin(), range.end());",
      [{ $_builder.getI64IntegerAttr($_self) }]>;
    
    // A derived attribute that returns the element type of `idx`-th ODS-declared
    // operand. If the `idx`-th operand is a variadic operand, then this attribute
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

          Value operand = op->getOperand(i);
          if (Operation* inst = operand.getDefiningOp()) {
            // If the operand comes from a `quantfork::DequantizeCastOp`, we use
            // the quantized input of this `quantfork::DequantizeCastOp` to set the
            // state.
            if (auto dq = dyn_cast<quantfork::DequantizeCastOp>(inst)) {
              operand = dq.getArg();
            }
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        llvm::SmallVector<Value, 4> operands(addn_op.getInputs().begin(),
                                             addn_op.getInputs().end());
    
        int64_t n = operands.size();
        // Keep doing tree-based reduction when there are more than one operand.
        while (n > 1) {
          for (int64_t i = 0; i < n; i += 2) {
            // Add two adjacent operands if applicable.
            operands[i / 2] =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
Back to top