Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 521 for Operands (0.2 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

    struct OpQuantSpec {
      // Maps the operand index of a bias input to its quantization specifications,
      // including the non-bias operand indexes and the method retrieving
      // quantization parameters from list of parameters of the non-bias operands.
      // This map is empty if the op doesn't have a bias operand.
      BiasParamsMap biases_params;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      // that was extracted..
    
      // Find the input edges to form the set of operands to the new function call.
      llvm::SetVector<Value> inputs;
      for (Operation* op : ops) {
        for (Value operand : op->getOperands()) {
          Operation* defining_op = operand.getDefiningOp();
          if (!ops.contains(defining_op)) inputs.insert(operand);
        }
      }
      // Find the output edges to form the set of resutls of the new function call.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

      auto replace_operand_usage = [&](OpOperand& operand) {
        if (mlir::TF::CanBeRefined(operand.get().getType()) ||
            HasDynamicOutputs(operand.getOwner())) {
          return insertion_point->getParentRegion()->isAncestor(
              operand.getOwner()->getParentRegion());
        }
        return insertion_point->getParentRegion()->isAncestor(
                   operand.getOwner()->getParentRegion()) ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    OpFoldResult RangeOp::fold(FoldAdaptor adaptor) {
      auto operands = adaptor.getOperands();
      assert(operands.size() == 3);
      auto start_tensor = operands[0].dyn_cast_or_null<ElementsAttr>();
      auto limit_tensor = operands[1].dyn_cast_or_null<ElementsAttr>();
      auto delta_tensor = operands[2].dyn_cast_or_null<ElementsAttr>();
      if (!(start_tensor && limit_tensor && delta_tensor)) return nullptr;
    
      // Operands should all be scalars
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue52031.go

    // license that can be found in the LICENSE file.
    
    package p
    
    type resultFlags uint
    
    // Example from #52031.
    //
    // The following shifts should not produce errors on Go < 1.13, as their
    // untyped constant operands are representable by type uint.
    const (
    	_ resultFlags = (1 << iota) / 2
    
    	reportEqual
    	reportUnequal
    	reportByIgnore
    	reportByMethod
    	reportByFunc
    	reportByCycle
    )
    
    // Invalid cases.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 733 bytes
    - Viewed (0)
  6. test/shift3.go

    // Copyright 2022 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.
    
    // Test that the compiler's noder uses the correct type
    // for RHS shift operands that are untyped. Must compile;
    // run for good measure.
    
    package main
    
    import (
    	"fmt"
    	"math"
    )
    
    func f(x, y int) {
    	if x != y {
    		panic(fmt.Sprintf("%d != %d", x, y))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 07 17:19:55 UTC 2022
    - 834 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold_utils.h

    namespace TF {
    
    // Checks whether the given TF operation can be folded or not.
    bool CanBeFolded(Operation* inst);
    
    // Evaluates the operation with given operand values.
    LogicalResult EvaluateOperation(Operation* inst,
                                    llvm::ArrayRef<ElementsAttr> operands,
                                    llvm::SmallVector<Attribute>& results);
    
    }  // namespace TF
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 23:44:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

        avoid atomic contention on AsyncValue's refcount.
      }];
    
      let arguments = (ins
        TFTensorType:$operand
      );
    
      let results = (outs
        Variadic<TFTensorType>:$results
      );
    
      let assemblyFormat = "$operand attr-dict `:` `(` type($operand) `)` `->` `(` type($results) `)`";
    }
    
    def CreateOp: FallbackAsync_Op<"createop", [CoreRT_TypedAttributeTrait]> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.h

    // -> tfl.batch_matmul(mhlo.transpose(mhlo.reshape(operand)), ...).
    // Note:
    // 1) Reshape/transpose are inserted because tfl.BatchMatMul requires
    // size(contracting_dimensions) = 1 and size(output_dim) = 1, whereas
    // mhlo.dot_general has no such restriction.
    // 2) Inserted mhlo.reshape/transpose will be legalized to tf.reshape/transpose
    // in LegalizeHloToTf (then from tf to tfl later).
    // 3) If the operands are dynamic shaped tensors, mhlo.DynamicReshapeOp is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 19:00:01 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/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 syntax.Expr
    	typ  Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top