- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 695 for test_1 (0.52 sec)
-
tensorflow/cc/gradients/linalg_grad_test.cc
EXPECT_LT(max_error, 1e-3); } Scope scope_; }; TEST_F(LinalgGradTest, Einsum_Transpose) { TensorShape x_shape({2, 3}); Output x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape)); auto y = Einsum(scope_, {x}, "ij->ji"); TensorShape y_shape({3, 2}); RunTest({x}, {x_shape}, {y}, {y_shape}); } TEST_F(LinalgGradTest, Einsum_TransposeBroadcast) { TensorShape x_shape({3, 2, 3});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 07 23:11:54 UTC 2022 - 5.8K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/tf_concrete_function_loading_test.cc
#include "tensorflow/core/platform/status.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/protobuf/error_codes.pb.h" #include "tensorflow/core/protobuf/saved_object_graph.pb.h" namespace tensorflow { namespace { class SavedConcreteFunctionLoadingTest : public ::testing::Test { public: SavedConcreteFunctionLoadingTest() : device_mgr_(testing::CreateTestingDeviceMgr()),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 10.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/swift/testFiltering/kotlin/src/test/swift/SomeIntegTest.swift
import XCTest class SomeIntegTest: XCTestCase { public static var allTests = [ ("test1", test1), ("test2", test2) ] func test1() {} func test2() {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 183 bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestReportTest.groovy
reportTask.testResults.from([[test2.binaryResultsDirectory], test3.binaryResultsDirectory]) then: reportTask.testResults.files as List == [test1, test2, test3]*.binaryResultsDirectory*.getAsFile()*.get() reportTask.testResults.buildDependencies.getDependencies(reportTask) == [test1, test2, test3] as Set } def "can attach result dirs"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/func_test.cc
namespace mlir::quant { namespace { using ::testing::IsNull; using ::testing::NotNull; using FindMainFuncOpTest = ::mlir::quant::QuantizationTestBase; TEST_F(FindMainFuncOpTest, ReturnsMainFuncOp) { constexpr absl::string_view kModuleWithMainFunc = R"mlir( module { func.func @main() -> () { return } } )mlir";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 09:05:02 UTC 2024 - 3.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher_test.go
evaluations: []cel.EvaluationResult{ { EvalResult: celtypes.False, ExpressionAccessor: &MatchCondition{ Name: "test1", }, }, { EvalResult: celtypes.True, ExpressionAccessor: &MatchCondition{ Name: "test2", }, }, }, shouldMatch: false, returnedName: "test1", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 15 00:53:08 UTC 2023 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/verify_no_outside_compilation_markers_pass_test.cc
namespace mlir { namespace TFDevice { using ::mlir::MLIRContext; using ::mlir::ModuleOp; using ::mlir::OwningOpRef; using ::mlir::mhlo::test::GetMlirModuleFromString; class VerifyNoOutsideCompilationMarkersPassTest : public ::testing::Test { protected: void CreateModule(const char* module_string) { TF_ASSERT_OK_AND_ASSIGN(module_,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 4.1K bytes - Viewed (0) -
src/internal/gover/gover_test.go
in2 In2 in3 In3 out Out } func test1[In, Out any](t *testing.T, tests []testCase1[In, Out], name string, f func(In) Out) { t.Helper() for _, tt := range tests { if out := f(tt.in); !reflect.DeepEqual(out, tt.out) { t.Errorf("%s(%v) = %v, want %v", name, tt.in, out, tt.out) } } } func test2[In1, In2, Out any](t *testing.T, tests []testCase2[In1, In2, Out], name string, f func(In1, In2) Out) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 23:20:32 UTC 2023 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops_test.cc
Env* env_; std::string test_dir_; std::string test_group_name_; }; TEST_F(LowerClusterToRuntimeOpsTest, SanityCheck) { TF_ASSERT_OK(CreateMlirModule("empty_func.mlir")); TF_EXPECT_OK(RunLowerClusterToRuntimeOpsPassPipeline( *mlir_module_, DeviceType(DEVICE_TPU_XLA_JIT))); } TEST_F(LowerClusterToRuntimeOpsTest, LowersClusterOpsTPU) { TF_ASSERT_OK(CreateMlirModule("basic_cluster.mlir"));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:44:37 UTC 2024 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_test.cc
const LogicalResult parse_result = parseSourceString(module_op_str, &block, ParserConfig(&ctx)); EXPECT_TRUE(succeeded(parse_result)); return cast<ModuleOp>(block.front()); } TEST_F(TfSavedModelTest, GetInitializerFunctionReturnsNullWhenNoSessionInitializerOp) { constexpr StringRef kModuleOpStr = R"mlir(module attributes {tf_saved_model.semantics} {})mlir"; Block block;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 01 05:03:09 UTC 2023 - 6.4K bytes - Viewed (0)