Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 232 for operands_ (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

      MutableArrayRef<OpOperand> operands = GetOperandsForBlockArgument(block_arg);
      if (operands.size() == 1) return operands.front().get();
    
      return operands[replica].get();
    }
    
    // Returns the list of replica op operands that maps to the given block
    // argument. Returns list with num_replicas elements for replicated operands
    // and list with a single element for packed operands.
    //
    // Requires that block argument is of this replicate op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc

      ConstOp permutation_op;
    
      // Layout dependent operands must be transpose operations with the same
      // permutation indices.
      for (unsigned idx : layout_dependent_operands) {
        OpOperand& operand = op->getOpOperand(idx);
    
        // Operand must be defined by a transpose op.
        TransposeOp transpose =
            dyn_cast_or_null<TransposeOp>(operand.get().getDefiningOp());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc

          state.addRegion()->takeBody(region);
        }
        // Assign existing operands for item.
        operands.assign(item.operand_begin(), item.operand_end());
    
        // Collect defining ops for existing operands.
        defining_ops.clear();
        for (Value operand : operands) {
          defining_ops.insert(operand.getDefiningOp());
        }
        for (Value new_control_input : llvm::reverse(new_control_inputs_for_item)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

      if (!IsIllegalType(v.getType())) {
        return true;
      }
      if (v.getUsers().empty()) {
        return false;
      }
      return llvm::all_of(v.getUsers(), [&](OpOperand operand) {
        return IsQintToIntCast(operand.getOwner());
      });
    }
    
    // Check if an op operand value is defined by int -> qint TF Cast OP.
    bool IsQintValueDefinedByIntToQintCast(Value v) {
      if (!IsIllegalType(v.getType())) {
        return true;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h

    // In order to be clustered operation can require its operands to satisfy
    // some constraints (e.g. reduction operation can require reduction dimension
    // operand to be a constant value).
    enum class ValueConstraint {
      // Operand must have statically known rank.
      kRank = 0,
      // Operand must have statically known shape (all dimensions are known at
      // compile time).
      kShape = 1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/internal/obj/ppc64/doc.go

    1. Operand ordering
    
    In Go asm, the last operand (right) is the target operand, but with PPC64 asm,
    the first operand (left) is the target. The order of the remaining operands is
    not consistent: in general opcodes with 3 operands that perform math or logical
    operations have their operands in reverse order. Opcodes for vector instructions
    and those with more than 3 operands usually have operands in the same order except
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

      if (flatten_tuple) {
        auto operands = llvm::to_vector(values);
        operands.push_back(token);
        return operands;
      }
    
      auto value = values[0];
      // If value with token already exists, reuse it.
      auto it = rewritten_values.find(value);
      if (it != rewritten_values.end()) return {it->getSecond()};
    
      auto create_tuple = [&](ArrayRef<Value> operands) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

        the same symbol scope as the callee. The operands and result types of the
        call must match the specified function type. The callee is encoded as a
        symbol reference attribute named "callee".
    
        Example:
    
        ```mlir
        %2 = tfr.call @my_add(%0, %1) : (tfr.tensor, f32) -> tfr.tensor_list
        ```
    
        Note that the operands of the `call` operation can only be with tfr.tensor,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top