Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 476 for Operands (0.6 sec)

  1. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

        index: the index in the resource array
      }];
    
      let arguments = (ins
        TFTensorType:$arg,
        I64Attr:$index
      );
    
      let results = (outs);
    
      let assemblyFormat = "operands attr-dict";
    }
    
    def GetResourceOp : TensorflowMlrt_Op<"get_resource", []> {
      let summary = "get a tensor in resource array";
    
      let description = [{
        Get a tensor in resource array.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla.cc

          Operation* op, ArrayRef<Value> operands,
          ConversionPatternRewriter& rewriter) const override {
        // This pattern is a conversion pattern because we want to specify a type
        // converter. However, this pattern still uses the original op's operands
        // while creating the ops so make sure there aren't any type changes between
        // the original op operands and the operands during the conversion.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.h

      } else {
        return {};
      }
    
      // Fold: Op(Operand, Identity) -> Operand.
      if (rhs_attr && is_valid_broadcasting(lhs_type, rhs_type, result_type)) {
        if (rhs_attr.isSplat() &&
            rhs_attr.getSplatValue<Attribute>() == identity_attr)
          return arithmetic_op.getX();
      }
    
      // Fold: Op(Identity, Operand) -> Operand for commutative operations.
      if (lhs_attr && is_commutative &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_invalid.mlir

    // Check that a fetch with operands after a control input triggers the verifier.
    func.func @invalid_fetch(%arg0: tensor<*xf32>, %ctl: !tf_executor.control) -> tensor<*xf32> {
      %result = "tf_executor.graph"() ({
        "tf_executor.fetch"(%arg0, %ctl, %arg0) : (tensor<*xf32>, !tf_executor.control, tensor<*xf32>) -> ()
    // expected-error@-1 {{'tf_executor.fetch' op found non-control operand #2 after control operand}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 01:12:10 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc

             matchPattern(op, m_Constant()) || isa<QConstOp>(op);
    }
    
    // Pre-order traverse, adding results and BlockArgs to `been_defined` and
    // collecting operands not contained within `been_defined`. If we encounter an
    // operand that references a Value that has been defined (and added to
    // `been_defined`) it is garuanteed that the Value definition is not contained
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

    };
    
    // Rewrites the given op to `OpT` op after adding the given operand at the end.
    template <typename OpT>
    OpT AddOperandAndRewriteAs(Operation* op, Value operand, NamedAttrList attr,
                               OpBuilder* builder) {
      builder->setInsertionPoint(op);
      auto operands = llvm::to_vector<4>(op->getOperands());
      operands.push_back(operand);
      auto new_op = builder->create<OpT>(op->getLoc(), op->getResultTypes(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-include-tf2xla-fallback.mlir

    // The fallback pattern uses dot_general without broadcast on operands and then
    // transposes the output which is faster. However, the fallback pattern doesn't
    // support dynamic shaped operands like the native lowering. Verify that
    // fallback lowering is preferred for static shaped operands when available.
    
    // CHECK-LABEL: batchmatmulv2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 19:04:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top