- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 456 for test_1 (0.12 sec)
-
tensorflow/compiler/mlir/quantization/common/uniform_quantized_types_test.cc
using ::testing::IsNull; using ::testing::Ne; using ::testing::NotNull; using ::testing::Test; class CreateI8F32UniformQuantizedTypeTest : public Test { protected: CreateI8F32UniformQuantizedTypeTest() : ctx_() { ctx_.loadDialect<quant::QuantizationDialect>(); } MLIRContext ctx_; }; TEST_F(CreateI8F32UniformQuantizedTypeTest, I8StorageTypeSucceeds) { const UniformQuantizedType quantized_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h
class BaseTest : public ::testing::Test { // You can inherit all the usual members for a non-parameterized test // fixture here. }; class DerivedTest : public BaseTest, public ::testing::WithParamInterface<int> { // The usual test fixture members go here too. }; TEST_F(BaseTest, HasFoo) { // This is an ordinary non-parameterized test. }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 74.1K bytes - Viewed (0) -
tensorflow/cc/saved_model/saved_model_bundle_test.cc
}; // Test for resource leaks related to TensorFlow session closing requirements // when loading and unloading large numbers of SavedModelBundles. // TODO(sukritiramesh): Increase run iterations and move outside of the test // suite. TEST_F(LoaderTest, ResourceLeakTest) { SavedModelBundle bundle; SessionOptions session_options; RunOptions run_options; const string export_dir =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 15.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGPreserveOrderIntegrationTest.groovy
System.out.println("Test2.afterClass()"); } } """ when: succeeds "test" then: outputContains(""" Test1.beforeClass() Test1.test1() Test1.test2() Test1.afterClass() """) outputContains(""" Test2.beforeClass() Test2.test1() Test2.test2() Test2.afterClass() """) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc
EXPECT_TRUE(failed(TryCast<DotGeneralOp>(nullptr, /*name=*/"nullptr"))); } TEST_F(AttrsAndConstraintsTest, I64ValueInI32RangeAreCastedCorrectly) { EXPECT_TRUE(succeeded(CastI64ToI32(llvm::minIntN(32)))); EXPECT_TRUE(succeeded(CastI64ToI32(llvm::maxIntN(32)))); } TEST_F(AttrsAndConstraintsTest, CastingFailsForI64ValueOutOfI32Range) { EXPECT_TRUE(failed(CastI64ToI32(llvm::minIntN(32) - 10)));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 22.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/const_op_size_test.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/core/platform/test.h" namespace mlir { namespace quant { namespace { using ::testing::Eq; class GetSizeInBytesTest : public ::testing::Test { protected: GetSizeInBytesTest() : ctx_() { ctx_.loadDialect<TF::TensorFlowDialect>(); } MLIRContext ctx_; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 14 04:37:13 UTC 2022 - 5.4K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/tests/runtime_test.cc
#include "tensorflow/cc/experimental/libtf/tests/runtime_test.h" namespace tf { namespace libtf { namespace runtime { using ::tensorflow::testing::StatusIs; using ::testing::HasSubstr; using ::tf::libtf::impl::TaggedValueTensor; constexpr char kSimpleModel[] = "tensorflow/cc/experimental/libtf/tests/testdata/simple-model"; TEST_P(RuntimeTest, SimpleModelCallableFloatTest) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 09 12:27:54 UTC 2023 - 4.8K bytes - Viewed (0) -
tensorflow/cc/saved_model/reader_test.cc
"tensorflow/serving/predict"); } }; TEST_F(ReaderTest, TagMatch) { MetaGraphDef meta_graph_def; const string export_dir = GetDataDependencyFilepath(TestDataSharded()); TF_ASSERT_OK(ReadMetaGraphDefFromSavedModel(export_dir, {kSavedModelTagServe}, &meta_graph_def)); CheckMetaGraphDef(meta_graph_def); } TEST_F(ReaderTest, NoTagMatch) { MetaGraphDef meta_graph_def;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 17 21:17:08 UTC 2023 - 5.1K bytes - Viewed (0) -
tensorflow/cc/framework/gradients_test.cc
TEST_F(StopGradientSingleOutputMultiEdgeTest, StopGradFirstEdge) { CheckGrad({true, false, false}, test::AsTensor<int>({14, 16, 18, 20}, {2, 2})); } TEST_F(StopGradientSingleOutputMultiEdgeTest, StopGradSecondEdge) { CheckGrad({false, true, false}, test::AsTensor<int>({10, 12, 14, 16}, {2, 2})); } TEST_F(StopGradientSingleOutputMultiEdgeTest, StopGradThirdEdge) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 15 15:13:38 UTC 2023 - 25K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
} TEST_F(CApiFunctionTest, TFGraphToFunctionWithStackTraces) { DefineFunction(func_name_, &func_); auto stack_traces = func_->record->stack_traces(); EXPECT_EQ(stack_traces.size(), 4); EXPECT_EQ(stack_traces["neg"]->ToString({}), kNegStackToString); EXPECT_EQ(stack_traces["feed"]->ToString({}), kFeedStackToString); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0)