- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 385 for assertGet (0.17 sec)
-
tensorflow/cc/ops/while_loop_test.cc
for (int i = 0; i < inputs_.size(); ++i) { feeds.emplace(inputs_[i], input_values[i]); } std::vector<Tensor> out_tensors; TF_ASSERT_OK(session.Run(feeds, outputs_, &out_tensors)); ASSERT_EQ(out_tensors.size(), outputs_.size()); DCHECK_EQ(expected_output_values.size(), out_tensors.size()); for (int i = 0; i < out_tensors.size(); ++i) { test::ExpectTensorEqual<T>(
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/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/aot/tests/make_test_graphs.py
def tfassert_eq(_): x = array_ops.placeholder(dtypes.int32, name='x_hold') y = array_ops.placeholder(dtypes.int32, name='y_hold') control_flow_assert.Assert( math_ops.equal(x, y), ['Expected x == y.'], name='assert_eq') math_ops.add(x, math_ops.negative(y), name='x_y_diff') def tfcond(_): p = array_ops.placeholder(dtypes.bool, name='p_hold') x = array_ops.placeholder(dtypes.int32, name='x_hold')
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 15 15:25:23 UTC 2023 - 7.8K 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) -
src/cmd/compile/internal/walk/complit.go
kidx := ir.NewIndexExpr(base.Pos, vstatk, i) kidx.SetBounded(true) // typechecker rewrites OINDEX to OINDEXMAP lhs := typecheck.AssignExpr(ir.NewIndexExpr(base.Pos, m, kidx)).(*ir.IndexExpr) base.AssertfAt(lhs.Op() == ir.OINDEXMAP, lhs.Pos(), "want OINDEXMAP, have %+v", lhs) lhs.RType = n.RType zero := ir.NewAssignStmt(base.Pos, i, ir.NewInt(base.Pos, 0))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:03:54 UTC 2023 - 19.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/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: Mon Nov 27 17:53:42 UTC 2023 - 14.8K bytes - Viewed (0) -
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) -
licenses/github.com/spf13/cobra/LICENSE.txt
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
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Oct 26 02:47:39 UTC 2019 - 9.9K bytes - Viewed (0)