Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 695 for test_1 (0.37 sec)

  1. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy

        public void run(RunNotifier runNotifier) {
            // Run tests in 'parallel'
            Description test1 = Description.createTestDescription(type, 'broken')
            Description test2 = Description.createTestDescription(type, 'ok')
            runNotifier.fireTestStarted(test1)
            runNotifier.fireTestStarted(test2)
            runNotifier.fireTestFailure(new Failure(test1, failure.rawFailure))
            runNotifier.fireTestFinished(test2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/gover/mod_test.go

    	"testing"
    
    	"golang.org/x/mod/module"
    )
    
    func TestIsToolchain(t *testing.T) { test1(t, isToolchainTests, "IsToolchain", IsToolchain) }
    
    var isToolchainTests = []testCase1[string, bool]{
    	{"go", true},
    	{"toolchain", true},
    	{"anything", false},
    	{"golang.org/toolchain", false},
    }
    
    func TestModCompare(t *testing.T) { test3(t, modCompareTests, "ModCompare", ModCompare) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 17:51:28 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

    #include "tensorflow/core/tpu/kernels/tpu_compile_op_support.h"
    #include "tsl/lib/core/status_test_util.h"
    
    namespace mlir::quant::stablehlo {
    namespace {
    
    using ::testing::Test;
    
    class LegalizeTFQuantTest : public Test {
     protected:
      void TestBridgeLowering(llvm::StringRef mlir_module_string,
                              llvm::ArrayRef<tensorflow::TensorShape> arg_shapes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc

      EXPECT_THAT(saver_def->save_tensor_name(), "tf_quant__save_op_0:0");
    }
    
    TEST(CreateSaverDefTest, ReturnsNulloptIfNoSaverDefRelatedNodesExist) {
      TF_ASSERT_OK_AND_ASSIGN(
          const std::optional<SaverDef> saver_def,
          CreateSaverDef(/*control_ret_node_names=*/{}, GraphDef()));
      EXPECT_EQ(saver_def, std::nullopt);
    }
    
    TEST(CreateSaverDefTest, ReturnsErrorStatusIfSaverDefNodesPartiallyExist) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. tensorflow/cc/gradients/data_flow_grad_test.cc

        float max_error;
        TF_ASSERT_OK((ComputeGradientError<float, float, float>(
            scope_, xs, x_shapes, ys, y_shapes, &max_error)));
        EXPECT_LT(max_error, 1e-4);
      }
    
      Scope scope_;
    };
    
    TEST_F(DataFlowGradTest, DynamicPartitionGrad) {
      TensorShape data_shape({2, 3, 2});
      auto data = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(data_shape));
      auto partitions = Const(scope_, {{2, 1, 0}, {1, 2, 0}});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 02 18:49:13 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/while_gradients_test.cc

        for (int i = 0; i < out_tensors.size(); ++i) {
          test::ExpectTensorEqual<T>(
              out_tensors[i], test::AsTensor<T>({expected_grad_values[i]}, {}));
        }
      }
    
      Scope scope_;
      std::vector<Output> inputs_;
      std::vector<Output> outputs_;
      std::vector<Output> grad_outputs_;
    };
    
    TEST_F(WhileGradientsTest, Basic) {
      // Create loop: while (i < 10) i += 1
      Init(1);
      CreateLoop(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 27 20:32:17 UTC 2017
    - 7.7K bytes
    - Viewed (0)
  7. maven-core/src/test/resources-project-builder/profile-properties-interpolation/pom.xml

      -->
      <url>https://maven.apache.org/${test}
      </url>
      <properties>
        <test>FAILED</test>
        <property>${test}</property>
      </properties>
    
      <profiles>
        <profile>
          <id>interpolation-profile</id>
          <!-- This profile defines the properties to use for interpolation. -->
          <properties>
            <test>PASSED</test>
            <test1>PASSED</test1>
          </properties>
        </profile>
      </profiles>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 24 18:50:27 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx_test.cc

      EXPECT_TRUE(status.ok());
      auto decomposed = test_ctx_->ExpandNode(test_node, "test");
      EXPECT_TRUE(decomposed.ok());
      std::vector<NodeAndType> expected_results{{"Identity", DT_FLOAT}};
      EXPECT_THAT(NodesSequenceOf(decomposed.value()),
                  ElementsAreArray(expected_results));
    }
    
    TEST_F(TFRDecomposeContextTest, FLOAT_3_ins) {
      std::vector<NodeDefBuilder::NodeOut> src_list;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/mlir_graph_optimization_pass_test.cc

    #include "tensorflow/core/lib/monitoring/cell_reader.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/public/session_options.h"
    
    namespace tensorflow {
    
    using ::testing::_;
    using ::testing::NiceMock;
    using ::testing::Return;
    using ::testing::Test;
    
    constexpr char kOk[] = "OK";
    constexpr char kInvalidArgument[] = "INVALID_ARGUMENT";
    constexpr char kSuccess[] = "kSuccess";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 08:25:30 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_host_send_recv_device_context_test.cc

          &device_tensor, "", device_.get(), &dest_cpu_tensor));
    
      tensorflow::test::ExpectClose(origin_cpu_tensor, dest_cpu_tensor);
      device_context->Unref();
    }
    
    TEST_F(XlaHostSendRecvDeviceContextTest, CopyCPUTensorToDevice) {
      SetDevice("GPU");
      Tensor origin_cpu_tensor(host_allocator_, DT_FLOAT, TensorShape({2, 2}));
      test::FillValues<float>(&origin_cpu_tensor, {1.2, 2.3, 3.4, 4.5});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top