- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 2,088 for expectGet (0.14 sec)
-
tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc
TF_EXPECT_OK(CompileWithComputation(function_to_hlo_args).status()); Histogram histogram = compilation_time.Delta("graph_old_bridge_has_function_to_hlo"); EXPECT_EQ(histogram.num(), 1); EXPECT_EQ(compilation_status.Delta("kOldBridgeNoMlirSuccess"), 1); } TEST_F(CompileTFGraphTest, SuccessfullyCompilesWithManualSharding) { // MLIR module from failing test.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:08:57 UTC 2024 - 11.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/c/c_api_test.cc
ASSERT_TRUE(out != nullptr); EXPECT_EQ(TF_FLOAT, TF_TensorType(out)); EXPECT_EQ(2, TF_NumDims(out)); EXPECT_EQ(4, TF_Dim(out, 0)); EXPECT_EQ(1, TF_Dim(out, 1)); float* values = static_cast<float*>(TF_TensorData(out)); // These values are defined to be (input / 2) + 2. EXPECT_EQ(2, values[0]); EXPECT_EQ(2.5, values[1]); EXPECT_EQ(3, values[2]); EXPECT_EQ(3.5, values[3]);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K 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) -
security/pkg/nodeagent/sds/sdsservice_test.go
s.Verify(s.Connect().RequestResponseAck(t, &discovery.DiscoveryRequest{ResourceNames: []string{testResourceName}}), expectCert) }) t.Run("unsubscribe", func(t *testing.T) { s := setupSDS(t) c := s.Connect() res := c.RequestResponseAck(t, &discovery.DiscoveryRequest{ResourceNames: []string{testResourceName}}) s.Verify(res, expectCert) c.Request(t, &discovery.DiscoveryRequest{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 17 20:12:58 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/jit/shape_inference_test.cc
&shape_info)); auto iter = shape_info.find("sink"); EXPECT_NE(iter, shape_info.end()); EXPECT_EQ(iter->second.size(), 1); EXPECT_EQ(iter->second.at(0).handle_type, DT_FLOAT); TensorShape resource_shape; EXPECT_TRUE(iter->second.at(0).handle_shape.AsTensorShape(&resource_shape)); EXPECT_EQ(resource_shape, TensorShape({2, 3})); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util_test.cc
GetNodesRelatedToRefVarsSorted(root, &flib_def)); std::vector<string> expected({ "RefFloat", "add_ref", "constant_ref", "constant_ref_pco", "negate_ref", "read_ref_var", "variable", }); EXPECT_EQ(names, expected); } Status MakeLoop(Scope s, Output init_value, absl::string_view loop_name) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 10.8K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h
// // EXPECT_NE(5, Foo()); // EXPECT_EQ(NULL, a_pointer); // ASSERT_LT(i, array_size); // ASSERT_GT(records.size(), 0) << "There is no record left."; #define EXPECT_EQ(expected, actual) \ EXPECT_PRED_FORMAT2(::testing::internal:: \ EqHelper<GTEST_IS_NULL_LITERAL_(expected)>::Compare, \ expected, actual) #define EXPECT_NE(expected, actual) \
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 86.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) -
pkg/controller/statefulset/stateful_pod_control_test.go
claimStates []string expected bool skipPodUID bool }{ { name: "all missing", claimStates: []string{missing, missing}, expected: false, }, { name: "no claims", claimStates: []string{}, expected: false, }, { name: "exists", claimStates: []string{missing, exists}, expected: false, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 35.5K bytes - Viewed (0)