Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 245 for operand1 (0.19 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      BidirectionalSequenceLSTMOp op = *this;
      auto operands = op.GetStatefulOperands();
      if (operands.size() == 4 && operands[0] == 35 && operands[1] == 36 &&
          operands[2] == 37 && operands[3] == 38) {
        return success();
      }
      return op.emitError(
          "BidirectionalSequenceLSTMOp expected to have four stateful operands");
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        llvm::SmallVector<Value, 4> operands(addn_op.getInputs().begin(),
                                             addn_op.getInputs().end());
    
        int64_t n = operands.size();
        // Keep doing tree-based reduction when there are more than one operand.
        while (n > 1) {
          for (int64_t i = 0; i < n; i += 2) {
            // Add two adjacent operands if applicable.
            operands[i / 2] =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

        (BinaryOp:$result (TFL_TileOp $input, (Arith_ConstantOp $tile)),
         $operand, $act_func),
        (BinaryOp $input, $operand, $act_func),
      [(OperandsBroadcastToOutputType $input, $operand, $result),
       (HasRankAtMost<4> $input),
       (HasRankAtMost<4> $operand)]>;
    
      def FuseTileBroadcastToBinaryOp2#BinaryOp : Pat<
        (BinaryOp:$result $operand,
          (TFL_TileOp $input, (Arith_ConstantOp $tile)), $act_func),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  4. src/go/types/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 ast.Expr
    	typ  Type
    	val  constant.Value
    	id   builtinId
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

        if (!result_ty) {
          return emitOptionalError(location, "Expected shape type for operand 0");
        }
        for (auto [index, ty] :
             llvm::drop_begin(llvm::enumerate(operands.getTypes()), 1)) {
          auto shape_type = llvm::dyn_cast_or_null<ShapedType>(ty);
          if (!shape_type) {
            return emitOptionalError(location, "Expected shape type for operand ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

    // ops (like the `dim` argument for `TF::ExpandDimsOp`) determine the shape of
    // the resulting tensor. If these operands are constants, they are duplicated
    // and replace the shape-determining operands. Each duplicated constant will
    // only be used as the shape-determining operand; it will not replace other
    // usages of the original constant. If the operands are not constants (i.e.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

      return absl::OkStatus();
    }
    
    Status MlirAbstractOp::Create(ArrayRef<Value> operands,
                                  OperationState** state) {
      state_->operands = llvm::to_vector<4>(operands);
      Builder builder(context_);
    
      if (current_ods_input_ != op_def_->input_arg_size())
        return InvalidArgument(absl::StrCat("Mismatch in operands number: got ",
                                            current_ods_input_, " expected ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/deadness_analysis.cc

        return operands_;
      }
      absl::Span<Predicate* const> operands() const { return operands_; }
    
     private:
      std::vector<Predicate*> operands_;
    };
    
    // Represents a logical negation of a set of predicates.
    class NotPredicate : public Predicate {
     public:
      explicit NotPredicate(int64_t id, Predicate* operand)
          : Predicate(id), operands_({operand}) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

        for (Value operand : fetch_op.getFetches()) {
          // Control results should not be propagated out.
          if (mlir::isa<ControlType>(operand.getType())) break;
    
          if (operand.getDefiningOp() != island_op) {
            // Operand is not from island, simply propagate it out.
            new_rets.push_back(operand);
          } else {
            // Lookup yield operand in island for inner op result.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top