- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 114 for assertGet (0.19 sec)
-
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) -
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) -
src/net/fd_fake.go
// so we cannot get access to the underlying IP address used by connections. // // However, listeners created by FileListener are of type *TCPListener, // which can be asserted by a Go program. The (*TCPListener).Addr method // documents that the returned value will be of type *TCPAddr, we satisfy // the documented behavior by creating addresses of the expected type here. switch net { case "tcp":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:56:08 UTC 2023 - 3.8K bytes - Viewed (0) -
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) -
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) -
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) -
tensorflow/compiler/aot/tests/tfcompile_test.cc
ASSERT_TRUE(muladd_shape != nullptr); ASSERT_EQ(muladd_shape->parameters_size(), 2); EXPECT_TRUE( ShapeUtil::Compatible(xla::Shape(muladd_shape->parameters(0)), f32_2x2)); EXPECT_TRUE( ShapeUtil::Compatible(xla::Shape(muladd_shape->parameters(1)), f32_2x2)); const xla::Shape muladd_result(muladd_shape->result()); ASSERT_EQ(muladd_result.element_type(), xla::TUPLE);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 26.4K bytes - Viewed (0) -
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) -
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) -
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)