- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 385 for assertGet (0.18 sec)
-
src/time/tick_test.go
noTick() // Test that len sees an immediate tick arrive // for Reset of timer in heap. tim.Reset(1) assertLen() assertTick() // Test that len sees an immediate tick arrive // for Reset of timer NOT in heap. tim.Stop() drainAsync() tim.Reset(1) assertLen() assertTick() } // Sleep long enough that a second tick must happen if this is a ticker.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0) -
tensorflow/cc/saved_model/saved_model_bundle_test.cc
TF_EXPECT_OK(Env::Default()->FileExists(asset_filepath)); std::vector<Tensor> path_outputs; TF_ASSERT_OK( bundle.session->Run({}, {"filename_tensor:0"}, {}, &path_outputs)); ASSERT_EQ(1, path_outputs.size()); test::ExpectTensorEqual<tstring>( test::AsTensor<tstring>({"foo.txt"}, TensorShape({})), path_outputs[0]); } void CheckSavedModelBundle(const string& export_dir,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 15.3K bytes - Viewed (0) -
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) -
tensorflow/c/ops.h
TF_CAPI_EXPORT extern int TF_ShapeInferenceContextRankKnown( TF_ShapeInferenceContext* ctx, TF_ShapeHandle* handle); // If <handle> has rank <rank>, or its rank is unknown, return OK and return the // shape with asserted rank in <*result>. Otherwise an error is placed into // `status`. TF_CAPI_EXPORT extern void TF_ShapeInferenceContextWithRank( TF_ShapeInferenceContext* ctx, TF_ShapeHandle* handle, int64_t rank,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 16.3K 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) -
tensorflow/c/kernels/summary_op_test.cc
gtl::InlinedVector<TensorValue, 4> inputs; inputs.emplace_back(tags); inputs.emplace_back(values); params.inputs = inputs; OpKernelContext ctx(¶ms, 1); kernel->Compute(&ctx); ASSERT_EQ(expected_code, ctx.status().code()); if (expected_code == error::OK) { Summary summary; ASSERT_TRUE(ParseProtoUnlimited( &summary, ctx.mutable_output(0)->scalar<tstring>()()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jul 18 15:10:51 UTC 2022 - 6.7K 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)