Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 86 for assertGet (0.24 sec)

  1. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      absl::flat_hash_map<string, std::vector<string>> cluster_sets =
          GetClusterSets(*graph);
      ASSERT_EQ(cluster_sets.size(), 1);
      std::vector<string> expected_clustered_nodes = {"AssignmentW", "ReadR",
                                                      "ValueToAssignW"};
      ASSERT_EQ(cluster_sets.begin()->second, expected_clustered_nodes);
    }
    
    TEST(XlaCompilationTest, ResourcesClusteringDisallowed) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc

            expected->subgraph_metadata()->GetAs<SubgraphMetadata>(i);
        if (expected_subgraph_metadata->op_metadata() == nullptr &&
            result_subgraph_metadata->op_metadata() == nullptr) {
          return;
        }
        ASSERT_EQ(expected_subgraph_metadata->op_metadata()->size(),
                  result_subgraph_metadata->op_metadata()->size());
        for (int j = 0; j < expected_subgraph_metadata->op_metadata()->size();
             ++j) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_predicates.go

    // license that can be found in the LICENSE file.
    
    // This file implements exported type predicates.
    
    package types2
    
    // AssertableTo reports whether a value of type V can be asserted to have type T.
    //
    // The behavior of AssertableTo is unspecified in three cases:
    //   - if T is Typ[Invalid]
    //   - if V is a generalized interface; i.e., an interface that may only be used
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/go/types/api_predicates.go

    // license that can be found in the LICENSE file.
    
    // This file implements exported type predicates.
    
    package types
    
    // AssertableTo reports whether a value of type V can be asserted to have type T.
    //
    // The behavior of AssertableTo is unspecified in three cases:
    //   - if T is Typ[Invalid]
    //   - if V is a generalized interface; i.e., an interface that may only be used
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/DependencyLockingGraphVisitor.java

        /**
         * This will transform any lock out of date result into an {@link UnresolvedDependency} in order to plug into lenient resolution.
         * This happens only if there are no previous failures as otherwise lock state can't be asserted.
         *
         * @return the existing failures augmented with any locking related one
         */
        public Set<UnresolvedDependency> collectLockingFailures() {
            if (dependencyLockingState.mustValidateLockState()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

      TF_ASSERT_OK(BuildXlaOps(root, fdef_lib, &graph));
    
      Node* stateful_partitioned_call_op = nullptr;
      for (Node* n : graph->op_nodes()) {
        if (n->type_string() == "StatefulPartitionedCall") {
          ASSERT_EQ(stateful_partitioned_call_op, nullptr);
          stateful_partitioned_call_op = n;
        }
      }
    
      ASSERT_NE(stateful_partitioned_call_op, nullptr);
      auto xla_compile = NodeWith(Op("_XlaCompile"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc

      EXPECT_TRUE(mlir::isa<mlir::DenseStringElementsAttr>(attr));
      auto string_attr = mlir::cast<mlir::DenseStringElementsAttr>(attr);
      auto string_values = string_attr.getRawStringData();
      ASSERT_EQ(string_values.size(), 4);
      EXPECT_EQ(string_values[0], mlir::StringRef("one"));
      EXPECT_EQ(string_values[1], mlir::StringRef("two"));
      EXPECT_EQ(string_values[2], mlir::StringRef("three"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/cmd/internal/testdir/testdir_test.go

    	// Build tags separated by a space are OR-ed together.
    	assertNot(shouldTest("// +build arm 386", "linux", "amd64"))
    
    	// Build tags separated by a comma are AND-ed together.
    	assertNot(shouldTest("// +build !windows,!plan9", "windows", "amd64"))
    	assertNot(shouldTest("// +build !windows,!plan9", "plan9", "386"))
    
    	// Build tags on multiple lines are AND-ed together.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/wrapper-main/src/executable/resources/META-INF/LICENSE

          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
          incurred by, or claims asserted against, such Contributor by reason
          of your accepting any such warranty or additional liability.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest_pred_impl.h

    //   ...
    //
    // where pred_format is a function or functor that takes n (in the
    // case of ASSERT_PRED_FORMATn) values and their source expression
    // text, and returns a testing::AssertionResult.  See the definition
    // of ASSERT_EQ in gtest.h for an example.
    //
    // If you don't care about formatting, you can use the more
    // restrictive version:
    //
    //   ASSERT_PRED1(pred, v1)
    //   ASSERT_PRED2(pred, v1, v2)
    //   ...
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top