Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 695 for test_1 (0.09 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitIntegrationTest.groovy

        def "can have multiple test task instances"() {
            given:
            file('src/test/java/org/gradle/Test1.java') << """
                package org.gradle;
                ${testFrameworkImports}
                public class Test1 {
                    @Test public void ok() { }
                }
            """.stripIndent()
            file('src/test2/java/org/gradle/Test2.java') << """
                package org.gradle;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold_test.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace mlir {
    namespace quant {
    namespace {
    
    using ::testing::NotNull;
    using ::testing::SizeIs;
    
    using ConstantFoldingTest = ::mlir::quant::QuantizationTestBase;
    
    TEST_F(ConstantFoldingTest, FoldLargeConstant) {
      constexpr absl::string_view kModuleCode = R"mlir(
        module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental_test.cc

      TF_DeleteFunction(funcs[0]);
    }
    
    TEST_F(CApiExperimentalFunctionTest, EmptyGraphRemoveNonExistentFunction) {
      TF_GraphRemoveFunction(func_graph_, "wrong_name", s_);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(string("Tried to remove non-existent function 'wrong_name'."),
                string(TF_Message(s_)));
    }
    
    TEST_F(CApiExperimentalFunctionTest, GraphRemoveNonExistentFunction) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_targets_test.cc

      mlir::OpBuilder builder_;
    };
    
    TEST_F(XlaLegalizeTargetsTest, CreatesConversionTargets) {
      auto const_int = builder_.create<mlir::arith::ConstantIntOp>(
          builder_.getUnknownLoc(), /*value=*/10, builder_.getI32Type());
    
      ConversionTarget target =
          GetDefaultLegalConversionTargets(context_, /*legalize_chlo=*/false);
      EXPECT_TRUE(target.isLegal(const_int));
    }
    
    TEST_F(XlaLegalizeTargetsTest, AllowsCHLODialect) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 05:56:39 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ReproducibleArchivesIntegrationTest.groovy

                }
            }
            """
    
            when:
            succeeds taskName
    
            then:
            def archiveFile = archive(file("build/test.${fileExtension}"))
            archiveFile.hasDescendants('test3.txt', 'test4.txt')
            archiveFile.content('test3.txt') == 'test2'
            archiveFile.content('test4.txt') == 'test1'
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization_test.cc

      }
      mlir::LogicalResult Run() { return pm_->run(module_.get()); }
    
     private:
      MLIRContext context_;
      OwningOpRef<ModuleOp> module_;
      std::unique_ptr<mlir::PassManager> pm_;
    };
    
    TEST_F(VerifyTfxlaLegalizationTest, RecordsStreamzFailedVerification) {
      // Using a string constant here instead of testdata to make this compatible
      // with open source.
      static constexpr char kMlirModuleStr[] = R"(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_kernel_creator_test.cc

      std::unique_ptr<ProcessFunctionLibraryRuntime> pflr_;
    
      std::unique_ptr<OpKernel> kernel_;
    };
    
    AttrValue BoolAttr(bool b) {
      AttrValue v;
      v.set_b(b);
      return v;
    }
    
    TEST_F(XlaKernelCreatorTest, OneFloatOneResourceArgument) {
      FunctionDef fdef = XTimesY();
      (*fdef.mutable_attr())["_XlaMustCompile"] = BoolAttr(true);
      Init({fdef});
      XlaKernelCreator xla_kernel_creator;
      auto callsite =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 16 01:39:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. test/escape3.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test the run-time behavior of escape analysis-related optimizations.
    
    package main
    
    func main() {
    	test1()
    }
    
    func test1() {
    	check1(0)
    	check1(1)
    	check1(2)
    }
    
    type T1 struct {
    	X, Y, Z int
    }
    
    func f() int {
    	return 1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 524 bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/core/saved_variable_loading_test.cc

      std::unique_ptr<StaticDeviceMgr> device_mgr_;
      EagerContextPtr ctx_;
    };
    
    // Sanity check that constructing a tensorflow::Variable from a SavedVariable
    // 1. does not cause an error
    // 2. preserves dtype and shape.
    TEST_P(SavedVariableLoadingTest, LoadSavedVariableSuccessful) {
      auto& test_params = GetParam();
      DataType dtype = std::get<0>(test_params);
      TensorShape shape(std::get<1>(test_params));
    
      SavedVariable saved_variable;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertThat(activation.getRequiredInactiveProfileIds(), containsInAnyOrder("test1", "test2"));
            assertThat(activation.getOptionalInactiveProfileIds(), containsInAnyOrder("test3", "test4"));
    
            activation = new ProfileActivation();
            performProfileActivation(parser.parse(options, new String[] {"-P", "-test1,+test2"}), activation);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 28.3K bytes
    - Viewed (0)
Back to top