Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for told (0.06 sec)

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

      }
    
      // Also fold if `input` has a known rank.
      auto input_type = getInput().getType().cast<ShapedType>();
      // Do not fold if rank is zero because the TFLite converter doesn't
      // distinguish between unranked input and scalar input due to b/138865275.
      // TODO(b/138865275): Remove `input_type.getRank() != 0` in the following
      // predicate and fold the op when rank is zero.
    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/ir/tf_ops_n_z.cc

                              << range_begin << ", " << range_end
                              << "); actual value: " << axis;
      }
    
      return success();
    }
    
    OpFoldResult PackOp::fold(FoldAdaptor) {
      // Fold pack operation if it computes the input tensor shape:
      //
      //   %shape  = tf.Shape(%arg)                    // [? x ...]
      //   %dim0   = tf.StridedSlice(%shape, 0, 1, 1)  // get unknown dim0 value
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    // AddNOp
    //===----------------------------------------------------------------------===//
    
    OpFoldResult AddNOp::fold(FoldAdaptor adaptor) {
      auto operands = adaptor.getOperands();
      if (operands.size() == 1) return *getInputs().begin();
    
      // Fold if there is only one single non-zero operand or all operands are zero.
      int non_zero_index = -1;
      auto IsKnownZero = [](Attribute attr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		t.Second.goString(indent+2, "Second: "),
    		t.Third.goString(indent+2, "Third: "))
    }
    
    // Fold is a C++17 fold-expression.  Arg2 is nil for a unary operator.
    type Fold struct {
    	Left bool
    	Op   AST
    	Arg1 AST
    	Arg2 AST
    }
    
    func (f *Fold) print(ps *printState) {
    	op, _ := f.Op.(*Operator)
    	printOp := func() {
    		if op != nil {
    			if ps.llvmStyle {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      let summary = "Move transposes pass.";
      let constructor = "TF::CreateMoveTransposesPass()";
      let options = [
        Option<"fold_transpose_in_ops_", "fold-transpose-in-ops", "bool", /*default=*/"true",
               "Whether to fold transposes in ops which can support folding.">,
        Option<"direction_", "direction", "enum MoveTransposeDirection",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

          Map<? extends K, ? extends V> map) {
        return new HashMap<>(map);
      }
    
      /**
       * Creates a {@code HashMap} instance, with a high enough "initial capacity" that it <i>should</i>
       * hold {@code expectedSize} elements without growth. This behavior cannot be broadly guaranteed,
       * but it is observed to be true for OpenJDK 1.7. It also can't be guaranteed that the method
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Maps.java

          Map<? extends K, ? extends V> map) {
        return new HashMap<>(map);
      }
    
      /**
       * Creates a {@code HashMap} instance, with a high enough "initial capacity" that it <i>should</i>
       * hold {@code expectedSize} elements without growth. This behavior cannot be broadly guaranteed,
       * but it is observed to be true for OpenJDK 1.7. It also can't be guaranteed that the method
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        // TF::MulOp is used to fold the constant.
        // TODO(b/139192933): switch to the TFL constant folding
        auto filter_type = mlir::cast<ShapedType>(filter.getType());
        if (filter_type.hasStaticShape()) {
          auto size =
              filter_type.getNumElements() * filter_type.getElementTypeBitWidth();
          // Don't constant fold if the filter is too large for TF to fold.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  9. src/runtime/proc.go

    	}
    }
    
    // casGToWaiting transitions gp from old to _Gwaiting, and sets the wait reason.
    //
    // Use this over casgstatus when possible to ensure that a waitreason is set.
    func casGToWaiting(gp *g, old uint32, reason waitReason) {
    	// Set the wait reason before calling casgstatus, because casgstatus will use it.
    	gp.waitreason = reason
    	casgstatus(gp, old, _Gwaiting)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.cc

      for (int i = 0; i < noutputs; ++i) {
        c_outputs[i] = nullptr;
      }
    }
    
    // TF_TensorToTensorV1 decodes a string serialization to DT_RESOURCE.
    // In the TFv1 convention, TF_Tensor can hold a string serialization of
    // DT_RESOURCE. The string serialization is converted back to a
    // ResourceHandle during Session run where the TF_Tensor is converted to a
    // Tensor.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top