- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 119 for test1f (0.1 sec)
-
tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc
} return nullptr; } TEST_F(QuantizeWeightsTest, QuantizationSucceeds) { LoadBasicModel(); flatbuffers::FlatBufferBuilder builder; auto status = QuantizeWeights(&builder, model_, 0); EXPECT_EQ(status, kTfLiteOk); const uint8_t* buffer = builder.GetBufferPointer(); const Model* output_model = GetModel(buffer); ASSERT_TRUE(output_model); } TEST_F(QuantizeWeightsTest, QuantizationFails) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 32.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc
#include "xla/shape.h" #include "xla/shape_util.h" #include "xla/tests/literal_test_util.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tsl/platform/errors.h" #include "tsl/platform/statusor.h" namespace mlir::quant::stablehlo { namespace { using ::testing::Test; class ConvertTfQuantToMhloIntTest : public Test { protected: void SetUp() override {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 03 01:03:21 UTC 2024 - 35.8K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compiler_options_util_test.cc
GetShapeDeterminationFns()); } class XlaCompilerOptionsTest : public ::testing::Test { protected: void SetUp() override { tensorflow::GetXlaDeviceFlags()->tf_xla_enable_xla_devices = true; } DeviceSetup device_setup_; }; TEST_F(XlaCompilerOptionsTest, PjRtOptionsXlaDevice) { device_setup_.AddDevicesAndSetUp({DEVICE_XLA_GPU});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 29 01:41:20 UTC 2023 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables_test.cc
#include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/util/tensor_bundle/tensor_bundle.h" #include "tsl/platform/status.h" #include "tsl/platform/status_matchers.h" namespace tensorflow { namespace quantization { namespace { using ::tensorflow::test::AsTensor; using ::tensorflow::test::ExpectEqual; using ::testing::IsEmpty; using ::testing::Not;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 16.2K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/DefaultSourceIncludesResolverTest.groovy
def header1 = includeDir.createFile("test.h") includePaths << includeDir macros << macro("TEST", '"test.h"') macroFunctions << macroFunction("TEST1", "TEST") macros << macro("TEST2", "TEST1()") macros << macro("TEST3", "TEST2") macros << unresolvableMacro("IGNORE") expect: def result = resolve(include('TEST3')) result.complete
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 16.8K bytes - Viewed (0) -
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) -
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ReproducibleArchivesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 02 14:30:00 UTC 2024 - 11.3K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass_test.cc
/*ret_def=*/{{"out", "out:output:0"}}); *fdef_lib.add_function() = std::move(func); return fdef_lib; } // This tests a rewrite that only makes sense and is active in a CUDA-enabled // build. Specifically we check that we insert an IdentityN op to avoid extra // device-to-host copies. TEST_F(BuildXlaOpsTest, NoDeviceToHostCopiesForClustersWithInt32Inputs) { const char* kXlaDeviceName = "/job:worker/replica:0/task:0/device:GPU:0";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 12.2K bytes - Viewed (0) -
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)