Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for actual_values (0.34 sec)

  1. tensorflow/c/eager/c_api_cluster_test.cc

      std::unique_ptr<float[]> actual_values(new float[expected_values.size()]);
      EXPECT_EQ(sizeof(float) * expected_values.size(), TF_TensorByteSize(t));
      memcpy(actual_values.get(), TF_TensorData(t), TF_TensorByteSize(t));
      TF_DeleteTensor(t);
    
      for (int i = 0; i < expected_values.size(); i++) {
        EXPECT_EQ(expected_values[i], actual_values[i])
            << "Mismatch in expected values at (zero-based) index " << i;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 10:03:59 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelChecker.groovy

                        checkMap(actualValue, expectedValue, checker)
                    } else {
                        checker(actualValue, expectedValue)
                    }
                } else if (checker instanceof List) {
                    def subSpecs = checker as List
                    checkModel(actualValue, expectedValue, subSpecs)
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/failure/mappers/OpenTestAssertionFailedMapper.java

                "getValue"
            );
            Object actualValue = invokeMethod(
                invokeMethod(throwable, "getActual"),
                "getValue"
            );
    
            if (isFileInfo(expectedValue) || isFileInfo(actualValue)) {
                return mapFileInfoComparisonFailure(throwable, expectedValue, actualValue);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:48:53 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ConventionAwareHelper.java

        @Override
        public <T> T getConventionValue(T actualValue, String propertyName, boolean isExplicitValue) {
            if (isExplicitValue) {
                return actualValue;
            }
    
            T returnValue = actualValue;
            if (_mappings.containsKey(propertyName)) {
                boolean useMapping = true;
                if (actualValue instanceof Collection && !((Collection<?>) actualValue).isEmpty()) {
                    useMapping = false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationFixture.groovy

            } as Predicate
        }
    
        private static boolean testValue(expectedValue, actualValue) {
            if (expectedValue instanceof Closure) {
                expectedValue.call(actualValue)
            } else if (expectedValue instanceof Predicate) {
                expectedValue.apply(actualValue)
            } else {
                expectedValue == actualValue
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 20 11:47:00 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/failure/mappers/JUnitComparisonTestFailureMapper.java

            String expectedValue = invokeMethod(throwable, "getExpected", String.class);
            String actualValue = invokeMethod(throwable, "getActual", String.class);
    
            return TestFailure.fromTestAssertionFailure(throwable, expectedValue, actualValue);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/GetInputFilesVisitor.java

            LineEndingSensitivity lineEndingSensitivity,
            @Nullable FileNormalizer fileNormalizer,
            PropertyValue value,
            InputFilePropertyType filePropertyType
        ) {
            FileCollectionInternal actualValue = FileParameterUtils.resolveInputFileValue(fileCollectionFactory, filePropertyType, value);
            FileNormalizer normalizer = FileParameterUtils.normalizerOrDefault(fileNormalizer);
            specs.add(new DefaultInputFilePropertySpec(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/JvmInstallationMetadataMatcherTest.groovy

                probedSystemProperties.each {
                    def actualValue = actualProperties[it.systemPropertyKey]
                    // write conditionally to simulate wrong number of outputs
                    if (actualValue != null) {
                        output.println(MetadataProbe.MARKER_PREFIX + actualValue)
                    }
                }
                Mock(ExecResult)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskInputs.java

                    PropertyValue value,
                    InputFilePropertyType filePropertyType
                ) {
                    FileCollection actualValue = FileParameterUtils.resolveInputFileValue(fileCollectionFactory, filePropertyType, value);
                    context.add(actualValue);
                }
            });
        }
    
        private static class TaskInputUnionFileCollection extends CompositeFileCollection implements Describable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/impl/DefaultInputFingerprinter.java

                    return;
                }
                Object actualValue = value.getValue();
                try {
                    ValueSnapshot previousSnapshot = previousValueSnapshots.get(propertyName);
                    if (previousSnapshot == null) {
                        valueSnapshotsBuilder.put(propertyName, valueSnapshotter.snapshot(actualValue));
                    } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top