- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,888 for expectGet (0.22 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc
.ok()); ASSERT_TRUE(worker_server2->Start().ok()); TFE_ContextSetServerDef(context.get(), 0, serialized.data(), serialized.size(), status.get()); EXPECT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); BasicTestsForTwoDevices(context.get(), "/job:worker/replica:0/task:1/device:CPU:0",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 22:09:57 UTC 2023 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc
void Verify(const RuntimeMetadata* result, const RuntimeMetadata* expected) { EXPECT_EQ(result->subgraph_metadata()->size(), expected->subgraph_metadata()->size()); for (int i = 0; i < result->subgraph_metadata()->size(); ++i) { auto result_subgraph_metadata = result->subgraph_metadata()->GetAs<SubgraphMetadata>(i); auto expected_subgraph_metadata = expected->subgraph_metadata()->GetAs<SubgraphMetadata>(i);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 06:11:34 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/cc/saved_model/bundle_v2_test.cc
reader.parse(metrics::SavedModelReadFingerprint().value(), fingerprint); EXPECT_EQ(fingerprint["saved_model_checksum"].asUInt64(), 15788619162413586750ULL); EXPECT_EQ(fingerprint["graph_def_program_hash"].asUInt64(), 706963557435316516ULL); EXPECT_EQ(fingerprint["signature_def_hash"].asUInt64(), 5693392539583495303ULL); EXPECT_EQ(fingerprint["saved_object_graph_hash"].asUInt64(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 12 17:51:15 UTC 2023 - 6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_activity_listener_test.cc
} EXPECT_EQ(listener()->jit_compilation_activity().cluster_name(), "cluster_0"); EXPECT_EQ(listener()->jit_compilation_activity().compile_count(), 2); EXPECT_GT(listener()->jit_compilation_activity().compile_time_us(), 0); EXPECT_EQ(listener()->jit_compilation_activity().cumulative_compile_time_us(), first_compile_time + listener()->jit_compilation_activity().compile_time_us()); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 5.9K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_chunked_test.cc
::testing::Contains(fingerprint_pb.graph_def_program_hash())); EXPECT_EQ(fingerprint_pb.signature_def_hash(), 1043582354059066488U); EXPECT_THAT(absl::flat_hash_set<uint64_t>( {2766043449526180728U, 11894619660760763927U}), ::testing::Contains(fingerprint_pb.saved_object_graph_hash())); EXPECT_EQ(fingerprint_pb.checkpoint_hash(), 0); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop_test.cc
ASSERT_TRUE(node->while_ctx() != nullptr) << i; if (i == 0) { while_ctx = node->while_ctx(); EXPECT_EQ(while_ctx->frame_name(), kFrameName); } else { EXPECT_EQ(node->while_ctx(), while_ctx) << i; } } // Run the loop and test we get the expected results Run<int>({1}, {10}); Run<int>({11}, {11}); } TEST_F(WhileLoopTest, WrongCondOutputType) { Init(1);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 22:30:58 UTC 2023 - 6.4K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/renderer_test.cc
SourceCode code; TestRenderer(code).Render(); string expected = R"(// File level comment. #include "header.h" void TestFunction() { int i = 1; while (i == 1) { // Do nothing, really.... #if 0 call(); #endif } } // comment ending TestFunction )"; code.SetSpacesPerIndent(3); EXPECT_EQ(expected, code.Render()); } } // namespace } // namespace cpp
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen_test.cc
} )"; void ExpectHasSubstr(StringPiece s, StringPiece expected) { EXPECT_TRUE(absl::StrContains(s, expected)) << "'" << s << "' does not contain '" << expected << "'"; } void ExpectDoesNotHaveSubstr(StringPiece s, StringPiece expected) { EXPECT_FALSE(absl::StrContains(s, expected)) << "'" << s << "' contains '" << expected << "'"; } void ExpectSubstrOrder(const string& s, const string& before,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 29 20:04:30 UTC 2022 - 5.8K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/tests/variable_test.cc
ctx_.reset(ctx_raw); } }; template <typename T> void ExpectEquals(AbstractTensorHandle* t, T expected) { TF_Tensor* result_t; Status s = tensorflow::GetValue(t, &result_t); ASSERT_TRUE(s.ok()) << s.message(); auto value = static_cast<T*>(TF_TensorData(result_t)); EXPECT_EQ(*value, expected); TF_DeleteTensor(result_t); } TEST_P(VariableTest, CreateAssignReadDestroy) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 21:44:52 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/cc/framework/cc_ops_test.cc
TF_EXPECT_OK(AttrValueHasType(*kernel_attr, "string")); EXPECT_EQ(kernel_attr->s(), "AddWithKernelLabel"); } TEST(CCOpTest, ColocateWith) { Scope root = Scope::NewRootScope(); auto c1 = Const(root.WithOpName("c1"), 1); auto c2 = Const(root.WithOpName("c2").ColocateWith(c1), 2); std::vector<string> constraints; GetColocationConstraints(c2, &constraints); EXPECT_EQ(constraints[0], "loc:@c1");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 15 15:13:38 UTC 2023 - 8.7K bytes - Viewed (0)