Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 521 for Operands (0.32 sec)

  1. tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc

        }
        // op has implict arguments not listed in operands.
        // Fact: if every op's operands are defined in the same block as op,
        //       then no operation has implicit arugments (constant doesn't count).
        for (auto operand : op->getOperands()) {
          if (mlir::dyn_cast_or_null<BlockArgument>(operand)) continue;
          auto operand_op = operand.getDefiningOp();
          if (IsConstant(operand_op)) continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

    OpFoldResult TFR::EqualOp::fold(FoldAdaptor adaptor) {
      auto operands = adaptor.getOperands();
      assert(operands.size() == 2 && "equal op has two operands");
      auto ctx = getContext();
      if (operands[0] == operands[1]) return BoolAttr::get(ctx, true);
      return BoolAttr::get(ctx, false);
    }
    
    OpFoldResult ConstOp::fold(FoldAdaptor adaptor) {
      auto operands = adaptor.getOperands();
      (void)operands;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/cast_bf16_ops_to_f32.mlir

    // CHECK: return %[[identity]] : tensor<1x1x2xf32>
    
    // Tests that an AddV2 op accepting two bf16 operands is transformed into
    // an AddV2 op that accepts two fp32 operands.
    func.func @cast_bf16_add_v2_to_fp32(%arg0: tensor<2xbf16>, %arg1: tensor<2xbf16>) -> tensor<2xf32> {
      %0 = "tf.AddV2"(%arg0, %arg1) : (tensor<2xbf16>, tensor<2xbf16>) -> tensor<2xbf16>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. src/crypto/internal/bigmod/nat.go

    	keep := not(choice(underflow)) | choice(always)
    	x.assign(keep, t)
    }
    
    // Sub computes x = x - y mod m.
    //
    // The length of both operands must be the same as the modulus. Both operands
    // must already be reduced modulo m.
    func (x *Nat) Sub(y *Nat, m *Modulus) *Nat {
    	underflow := x.sub(y)
    	// If the subtraction underflowed, add m.
    	t := NewNat().set(x)
    	t.add(m.nat)
    	x.assign(choice(underflow), t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td

        $operands_with_static_shape are indices of operands that are tagged with a maximum static shape.
        $producer_name is a string describing the name of the framework that added support for running this portion of the model on TPUs.
    
        Example:
          %rendezvous_key_base, %result = tf_mlrt_tpu.compile_and_execute (%operands) constant_operand_indices = [1, 3] metadata = "metadata..." mlir_module = "mlir_module..."
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

      rewriter.replaceAllUsesExcept(result, new_value, new_value.getDefiningOp());
    }
    
    // Wrap operands in an an unrealized cast to create a cast to buffer any type
    // changes to the operand, and apply type converter to operands:
    //   V0 = op(operand)
    //   ==>
    //   V0 = unrealized_cast(operand)
    //   V1 = op(V0)
    void WrapOperandsInUnrealizedCastAndConvert(Operation *op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc

        // Collect operands of cluster op that are generated within the cluster.
        // These values should be returned by the cluster.
        cluster_op.walk([&](Operation* op) {
          for (Value operand : op->getOperands()) {
            Operation* operand_op = GetOpOfValue(operand);
            if (operand_op->getParentRegion() == cluster_region)
              cluster_results_set.insert(operand);
          }
        });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/g3doc/tf_dialects.md

    The `tf_executor.graph` operation does not accept any operands, inputs are
    implicitly captured by the region, representing the feeds to the graph.
    
    The region attached to `tf_executor.graph` is terminated by a
    `tf_executor.fetch` operation. The non-control operands of the terminator
    correspond to the result values (or fetches) of the `tf_executor.graph`
    operation. The behavior is undefined if any of the operands of the
    `tf_executor.fetch` is dead.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 16K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.td

        $operands_with_static_shape are indices of operands that are tagged with a maximum static shape.
        $producer_name is a string describing the name of the framework that added support for running this portion of the model on TPUs.
    
        Example:
          %rendezvous_key_base, %result = tf_mlrt_tpu.compile_and_execute (%operands) constant_operand_indices = [1, 3] metadata = "metadata..." mlir_module = "mlir_module..."
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 21:25:31 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_executor_to_functional.cc

        // Forward island fetches (tf_executor.yield operands) to island op result
        // uses.
        for (auto result :
             llvm::zip(island_op.getOutputs(), island_op.GetYield().getFetches()))
          std::get<0>(result).replaceAllUsesWith(std::get<1>(result));
      }
    
      // Forward graph fetches (tf_executor.fetch operands) to graph op result uses.
      for (auto result :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top