Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 511 for test_1 (0.15 sec)

  1. tensorflow/cc/saved_model/util_test.cc

    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/protobuf/meta_graph.pb.h"
    #include "tensorflow/core/protobuf/saved_object_graph.pb.h"
    #include "tsl/platform/status_matchers.h"
    
    namespace tensorflow {
    namespace saved_model {
    namespace {
    
    using tsl::testing::StatusIs;
    
    TEST(UtilTest, TestGetWriteVersionV2) {
      SavedModel saved_model_proto;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf_test.cc

        }
        return absl::OkStatus();
      }
    
      DialectRegistry registry_;
      MLIRContext context_;
      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(FunctionClusterTensorflowDialectTest, ClustersTfReplicatedBridge) {
      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args_test.cc

    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/protobuf/meta_graph.pb.h"
    
    namespace mlir::quant {
    namespace {
    
    using ::tensorflow::AssetFileDef;
    using ::testing::Eq;
    using ::testing::IsEmpty;
    using ::testing::IsNull;
    using ::testing::NotNull;
    using ::testing::SizeIs;
    
    class ConvertAssetArgsTest : public ::testing::Test {
     protected:
      ConvertAssetArgsTest() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/testing/testng-groupbyinstances/groovy/src/test/java/org/gradle/testng/TestFactory.java

            System.out.println("TestFactory[" + data + "].beforeClass()");
        }
    
        @Test
        public void test1() {
            System.out.println("TestFactory[" + data + "].test1()");
        }
    
        @Test(dependsOnMethods = {"test1"})
        public void test2() {
            System.out.println("TestFactory[" + data + "].test2()");
        }
    
        @AfterClass
        public void afterClass() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cover_pattern.txt

    # then it will try to load sleepybad, which does not compile,
    # and the test command will fail.
    ! go list m/sleepy...
    go test -c -n -coverprofile=$TMPDIR/cover.out -coverpkg=m/sleepy... -run=^$ m/sleepy1
    
    -- go.mod --
    module m
    
    go 1.16
    -- sleepy1/p_test.go --
    package p
    
    import (
    	"testing"
    	"time"
    )
    
    func Test1(t *testing.T) {
    	time.Sleep(200 * time.Millisecond)
    }
    -- sleepy2/p_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 683 bytes
    - Viewed (0)
  6. test/fixedbugs/issue65962.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	test1()
    	test2()
    }
    
    type I interface {
    	f()
    	g()
    	h()
    }
    
    //go:noinline
    func ld[T any]() {
    	var x I
    	if _, ok := x.(T); ok {
    	}
    }
    
    func isI(x any) {
    	_ = x.(I)
    }
    
    func test1() {
    	defer func() { recover() }()
    	ld[bool]() // add <bool,I> itab to binary
    	_ = any(false).(I)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:30:40 UTC 2024
    - 625 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/utils/stablehlo_type_utils_test.cc

    namespace mlir::quant::stablehlo {
    namespace {
    
    using ::testing::Test;
    
    class StablehloTypeUtilsTest : public Test {
     protected:
      StablehloTypeUtilsTest() {
        ctx_.loadDialect<mlir::stablehlo::StablehloDialect,
                         mlir::arith::ArithDialect, mlir::func::FuncDialect>();
      }
    
      MLIRContext ctx_;
      OpBuilder builder_{&ctx_};
    };
    
    TEST_F(StablehloTypeUtilsTest, IsStablehloOpSucceedsWithStablehloOp) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 00:32:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/saved_model/core/ops/restore_ops_test.cc

    }
    
    TEST_F(RestoreOpsTest, BadCheckpointPrefixShouldFail) {
      ImmediateTensorHandlePtr x_handle;
      Status status = internal::SingleRestore(
          context(), CheckpointPrefix("unknown_bad_checkpoint_prefix"),
          "x/.ATTRIBUTES/VARIABLE_VALUE", DT_FLOAT, &x_handle);
      EXPECT_FALSE(status.ok()) << status.message();
    }
    
    TEST_F(RestoreOpsTest, BadCheckpointKeyShouldFail) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. test/defer.go

    func test2helper() {
    	for i := 0; i < 10; i++ {
    		defer addDotDotDot(i)
    	}
    }
    
    func test2() {
    	result = ""
    	test2helper()
    	if result != "9876543210" {
    		fmt.Printf("test2: bad defer result (should be 9876543210): %q\n", result)
    		panic("defer")
    	}
    }
    
    func main() {
    	test1()
    	test2()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 875 bytes
    - Viewed (0)
  10. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/IncrementalAntlrTaskIntegrationTest.groovy

            when:
            grammar("Test1", "Test2")
            then:
            succeeds("generateGrammarSource")
    
            test1TokenFile.exists()
            test1LexerFile.exists()
            test1ParserFile.exists()
    
            test2TokenFile.exists()
            test2LexerFile.exists()
            test2ParserFile.exists()
    
            when:
            removedGrammar("Test1")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top