Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 88 for operands_ (0.17 sec)

  1. src/fmt/errors.go

    //
    // If the format specifier includes a %w verb with an error operand,
    // the returned error will implement an Unwrap method returning the operand.
    // If there is more than one %w verb, the returned error will implement an
    // Unwrap method returning a []error containing all the %w operands in the
    // order they appear in the arguments.
    // It is invalid to supply the %w verb with an operand that does not implement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.cc

        return success();
      }
    
      // Returns directly if any of the operands is not an elements attributes.
      if (std::any_of(operands.begin(), operands.end(), [](Attribute attr) {
            return !attr || !mlir::isa<ElementsAttr>(attr);
          }))
        return failure();
    
      SmallVector<ElementsAttr, 4> inputs;
      inputs.reserve(operands.size());
      for (auto input : operands) {
        inputs.push_back(mlir::cast<ElementsAttr>(input));
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/annotate_parameter_replication.cc

        auto func =
            llvm::cast<func::FuncOp>(m.lookupSymbol(cluster_func.getFunc()));
        for (auto entry : llvm::enumerate(cluster_func.getOperands())) {
          auto operand = SkipIdentityAndReadVariable(entry.value());
          auto block_arg = mlir::dyn_cast<BlockArgument>(operand);
          if (block_arg && block_arg.getOwner() == &replicate.GetBody()) {
            // Only mirrored args of ReplicateOp can be annotated.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/api_predicates.go

    }
    
    // Identical reports whether x and y are identical types.
    // Receivers of [Signature] types are ignored.
    //
    // Predicates such as [Identical], [Implements], and
    // [Satisfies] assume that both operands belong to a
    // consistent collection of symbols ([Object] values).
    // For example, two [Named] types can be identical only if their
    // [Named.Obj] methods return the same [TypeName] symbol.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/go/types/api_predicates.go

    }
    
    // Identical reports whether x and y are identical types.
    // Receivers of [Signature] types are ignored.
    //
    // Predicates such as [Identical], [Implements], and
    // [Satisfies] assume that both operands belong to a
    // consistent collection of symbols ([Object] values).
    // For example, two [Named] types can be identical only if their
    // [Named.Obj] methods return the same [TypeName] symbol.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go

    // format operators and their operand types.
    //
    // # Examples
    //
    // The %d format operator requires an integer operand.
    // Here it is incorrectly applied to a string:
    //
    //	fmt.Printf("%d", "hello") // fmt.Printf format %d has arg "hello" of wrong type string
    //
    // A call to Printf must have as many operands as there are "verbs" in
    // the format string, not too few:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/const.go

    // This file implements functions for untyped constant operands.
    
    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    	"go/constant"
    	"go/token"
    	. "internal/types/errors"
    	"math"
    )
    
    // overflow checks that the constant x is representable by its type.
    // For untyped constants, it checks that the value doesn't become
    // arbitrarily large.
    func (check *Checker) overflow(x *operand, opPos syntax.Pos) {
    	assert(x.mode == constant_)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc

      for (Value value : activation_values) {
        QuantizeValue(builder, value, default_params);
      }
    
      // Since all the non-biases operands have quantization parameters now, we
      // should be able to propagate them to the bias operand.
      for (Value bias : bias_values) {
        Operation *op = *bias.user_begin();
        auto spec = TFL::GetOpQuantSpec(op);
        for (auto &it : spec->biases_params) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. src/go/types/const.go

    // This file implements functions for untyped constant operands.
    
    package types
    
    import (
    	"go/constant"
    	"go/token"
    	. "internal/types/errors"
    	"math"
    )
    
    // overflow checks that the constant x is representable by its type.
    // For untyped constants, it checks that the value doesn't become
    // arbitrarily large.
    func (check *Checker) overflow(x *operand, opPos token.Pos) {
    	assert(x.mode == constant_)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top