Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 493 for operands_ (0.31 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/folders.cc

    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "stablehlo/dialect/StablehloOps.h"  // from @stablehlo
    
    namespace mlir::odml {
    
    namespace {
    
    // Helper class for parsing operands to a foldable operation.
    class FoldAdaptor {
     public:
      // Returns std::nullopt if the operation cannot be folded.
      static std::optional<FoldAdaptor> Create(Operation* operation) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 06:11:55 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/bools/bools.go

    		if !ok || bin.Op != op.badEq {
    			continue
    		}
    
    		// In order to avoid false positives, restrict to cases
    		// in which one of the operands is constant. We're then
    		// interested in the other operand.
    		// In the rare case in which both operands are constant
    		// (e.g. runtime.GOOS and "windows"), we'll only catch
    		// mistakes if the LHS is repeated, which is how most
    		// code is written.
    		var x ast.Expr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/ppc64/asm9.go

    }
    
    /* VA-form 3-register + SHB operands */
    func AOP_IRRR(op uint32, d uint32, a uint32, b uint32, simm uint32) uint32 {
    	return op | (d&31)<<21 | (a&31)<<16 | (b&31)<<11 | (simm&0xF)<<6
    }
    
    /* VX-form 1-register + SIM operands */
    func AOP_IR(op uint32, d uint32, simm uint32) uint32 {
    	return op | (d&31)<<21 | (simm&31)<<16
    }
    
    /* XX1-form 3-register operands, 1 VSR operand */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc

      BFloat16TypePattern(TypeConverter& converter, MLIRContext* ctx)
          : ConversionPattern(converter, MatchAnyOpTypeTag(), /*benefit=*/1, ctx) {}
    
      LogicalResult matchAndRewrite(
          Operation* op, const ArrayRef<Value> operands,
          ConversionPatternRewriter& rewriter) const override {
        if (getTypeConverter()->isLegal(op)) {
          return failure();
        }
        if (isa<mlir::stablehlo::BitcastConvertOp>(op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    }
    
    // -----
    
    func.func @testConcatV2(%arg0: tensor<8x16xf32>, %arg1: tensor<8xf32>, %axis: tensor<i32>) -> tensor<*xf32> {
      // expected-error @+1 {{operand type 'tensor<8xf32>' is not compatible with preceding operands; expected rank: 2}}
      %0 = "tf.ConcatV2"(%arg0, %arg1, %axis) : (tensor<8x16xf32>, tensor<8xf32>, tensor<i32>) -> tensor<*xf32>
      func.return %0 : tensor<*xf32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/LoggingExcludeFactory.java

        private static Collection<?> toList(Object[] operands) {
            return singleCollection(operands) ? (Collection<?>) operands[0] : Arrays.asList(operands);
        }
    
        private static boolean singleCollection(Object[] operands) {
            return operands.length== 1 && operands[0] instanceof Collection;
        }
    
        private enum Subject {
            all(true, true),
            stackoverflow(false, true),
            operations(true, false);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.h

    // location with a `CallOp` which invokes said `FuncOp`. The inputs to
    // this new functions are taken to be the `Values` that appear as operands
    // to ops in the subgraph, which are not self-contained within the subgraph.
    // The outputs of this function are taken to be the results of ops in the
    // subgraph which are referenced as operands outside of the subgraph.
    // Also refer to documention of `AccumulateOperandsDefinedAbove` &
    // `AccumulateResultsDefinedWithin`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 17 18:49:43 UTC 2022
    - 6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

      });
    }
    
    // Propagates the resource IDs from an input operand to a result. Returns true
    // if the mapping changed.
    bool ResourceAliasAnalysisInfo::PropagateInputToOutput(const Value& operand,
                                                           const OpResult& result) {
      auto operand_it = resource_value_to_ids_.find(operand);
      assert(operand_it != resource_value_to_ids_.end() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top