Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for operands_ (0.25 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      // have an extra returned value for the control result, and we concatenate
      // control and non-control operands.
      mlir::SmallVector<mlir::Type, 4> types(result.types);
      types.push_back(mlir::tf_executor::ControlType::get(builder_.getContext()));
      mlir::SmallVector<mlir::Value, 4> operands(result.operands);
      operands.append(control_operands.begin(), control_operands.end());
    
      auto loc = result.location;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	}
    
    	tests := []struct {
    		name       string
    		operations []operation
    		operands   []*framework.QueuedPodInfo
    		expected   []*framework.QueuedPodInfo
    	}{
    		{
    			name: "add two pod to activeQ and sort them by the timestamp",
    			operations: []operation{
    				addPodActiveQ,
    				addPodActiveQ,
    			},
    			operands: []*framework.QueuedPodInfo{pInfo2, pInfo1},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      %0 = "tf.Const"() {value = dense<[0.0, 0.0, 0.0, 0.0]> : tensor<4xf32>} : () -> tensor<4xf32>
    
      // If operand is a scalar, then the identity value (0.0 for addition) can
      // be of any shape, because operand is safely broadcastable to any shape.
      //
      // However we can't fold this arithmetic operation because the operand
      // shape does not match the result shape.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/optimize.cc

          return failure();
        if (fc_op.getFusedActivationFunction() != "NONE") return failure();
    
        // Broadcast the constant operand of Mul if it isn't compatible to the
        // filter input. We only support broadcasting the operand along the depth
        // dimension, when the operand's depth is 1.
        rewriter.setInsertionPoint(q_op);
        Location loc = fc_op.getLoc();
        Value broadcasted_gamma;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/x86/asm6.go

    // ACRC32, and p.From and p.To as operands (obj.Addr).  The linker scans optab
    // to find the entry with the given p.As and then looks through the ytable for
    // that instruction (the second field in the optab struct) for a line whose
    // first two values match the Ytypes of the p.From and p.To operands.  The
    // function oclass computes the specific Ytype of an operand and then the set
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/arm64/asm7.go

    )
    
    const (
    	REGFROM = 1
    )
    
    type Optab struct {
    	as    obj.As
    	a1    uint8 // Prog.From
    	a2    uint8 // 2nd source operand, Prog.Reg or Prog.RestArgs[XXX]
    	a3    uint8 // 3rd source operand, Prog.RestArgs[XXX]
    	a4    uint8 // Prog.To
    	a5    uint8 // 2nd destination operand, Prog.RegTo2 or Prog.RestArgs[XXX]
    	type_ int8
    	size_ int8 // the value of this field is not static, use the size() method to return the value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

        TFL::QConstOp lhs_qconst_op;
        TFL::QConstOp rhs_qconst_op;
    
        auto GetBroadcastedConstOp = [&](Value operand) -> TFL::QConstOp {
          if (auto broadcast_op = dyn_cast_or_null<stablehlo::BroadcastInDimOp>(
                  operand.getDefiningOp())) {
            auto stablehlo_const_op = dyn_cast_or_null<stablehlo::ConstantOp>(
                broadcast_op.getOperand().getDefiningOp());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    Parameters: itemMatchers - the matchers to apply to items provided by the examined Iterable equalTo public static <T> Matcher<T> equalTo(T operand) Creates a matcher that matches when the examined object is logically equal to the specified operand, as determined by calling the Object.equals(java.lang.Object) method on the examined object. If the specified operand is null then the created matcher will only match if the examined object's equals method returns true when passed a null (which would be a...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 236.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // CHECK-LABEL: dot_general_upstream_srq_wrong_contracting
    // CHECK: stablehlo.dot_general
    // CHECK-NOT: tfl.batch_matmul
    
    // -----
    
    // Tests static range quantized dot_general with float operands
    
    // CHECK-LABEL: dot_general_upstream_srq_float_operands
    func.func @dot_general_upstream_srq_float_operands(%arg0: tensor<1x2x3x4xf32>, %arg1: tensor<1x2x4x5xf32>) -> tensor<1x2x3x5xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
Back to top