Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for getAbs (0.28 sec)

  1. src/cmd/go/internal/test/testflag.go

    	return f.abs
    }
    
    func (f *outputdirFlag) Set(value string) (err error) {
    	if value == "" {
    		f.abs = ""
    	} else {
    		f.abs, err = filepath.Abs(value)
    	}
    	return err
    }
    
    func (f *outputdirFlag) getAbs() string {
    	if f.abs == "" {
    		return base.Cwd()
    	}
    	return f.abs
    }
    
    // vetFlag implements the special parsing logic for the -vet flag:
    // a comma-separated list, with distinguished values "all" and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.cc

          value_eq.getLhs() != body.getArgument(0) ||
          value_eq.getRhs() != body.getArgument(2))
        return failure();
    
      mhlo::CompareOp index_lt = llvm::dyn_cast_or_null<mhlo::CompareOp>(
          index_and.getRhs().getDefiningOp());
      if (!index_lt ||
          index_lt.getComparisonDirection() != mhlo::ComparisonDirection::LT ||
          index_lt.getLhs() != body.getArgument(1) ||
          index_lt.getRhs() != body.getArgument(3))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

        if (!dot.getLhs().getType().hasStaticShape() ||
            !dot.getRhs().getType().hasStaticShape())
          return rewriter.notifyMatchFailure(
              dot, "all dot_general operands must be statically shaped");
        if (dot.getLhs().getType().getElementType() !=
                first_dot.getLhs().getType().getElementType() ||
            dot.getRhs().getType().getElementType() !=
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc

        mlir::DenseIntElementsAttr broadcast_dims;
    
        // Match and capture values/attributes.
        Value lhs = mul_op.getLhs();
        Value rhs = mul_op.getRhs();
        conv_op = lhs.getDefiningOp<mhlo::ConvolutionOp>();
        if (conv_op == nullptr) {
          return failure();
        }
        filter = conv_op.getRhs().getDefiningOp<mhlo::ConstantOp>();
        if (filter == nullptr) {
          return failure();
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 22:21:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        Value constant_val = add_op ? add_op.getRhs() : sub_op.getRhs();
        if (!matchPattern(constant_val, m_Constant(&added_value))) return failure();
    
        // Check the add op is applied to begin.
        mlir::TypedValue<::mlir::TensorType> begin_tensor =
            strided_slice_op.getBegin();
        mlir::TypedValue<::mlir::TensorType> add_source_tensor =
            add_op ? add_op.getLhs() : sub_op.getLhs();
        if (begin_tensor != add_source_tensor) {
    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. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc

      return ConvertDot(
          rewriter, dot_op.getLhs(), dot_op.getRhs(), dot_dimension_numbers,
          mlir::cast<ShapedType>(dot_op.getResult().getType()), dot_op.getLoc());
    }
    
    Value ConvertDotGeneralOp(PatternRewriter& rewriter, Operation* old_op) {
      auto dot_general_op = cast<mhlo::DotGeneralOp>(old_op);
      return ConvertDot(
          rewriter, dot_general_op.getLhs(), dot_general_op.getRhs(),
          dot_general_op.getDotDimensionNumbers(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

                assertEquals("seg" + (i + 1), kuromojiItem.getSegmentation());
                assertEquals("reading" + (i + 1), kuromojiItem.getReading());
                assertEquals("pos" + (i + 1), kuromojiItem.getPos());
                assertFalse(kuromojiItem.isUpdated());
                assertFalse(kuromojiItem.isUpdated());
            }
        }
    
        /*
        // TODO
        public void test_insert() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/ingress/status_test.go

    	assert.EventuallyEqual(t, getIPs(ing, "ingress", "default"), []string{})
    
    	// Add it back
    	svc.Create(updated)
    	assert.EventuallyEqual(t, getIPs(ing, "ingress", "default"), []string{"5.6.7.8"})
    
    	// Remove ingress class
    	ing.Update(&knetworking.Ingress{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "ingress",
    			Namespace: "default",
    		},
    	})
    	assert.EventuallyEqual(t, getIPs(ing, "ingress", "default"), []string{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_calibration_statistics_saver.cc

        const std::unordered_set<std::string>& aggregator_ops_to_ignore,
        SmallVector<Value>& statistics_outputs, SmallVector<StringRef>& ids,
        SmallVector<int32_t>& calibration_methods) {
      for (auto op : region.getOps<TF::CustomAggregatorOp>()) {
        if (aggregator_ops_to_ignore.count(op.getId().str())) continue;
    
        ids.push_back(op.getId());
        calibration_methods.push_back(op.getCalibrationMethod());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/FreeListBlockStore.java

            protected void write(DataOutputStream outputStream) throws Exception {
                outputStream.writeLong(nextBlock.getPos());
                outputStream.writeInt(largestInNextBlock);
                outputStream.writeInt(entries.size());
                for (FreeListEntry entry : entries) {
                    outputStream.writeLong(entry.pos.getPos());
                    outputStream.writeInt(entry.size);
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top