- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for TEST_F (0.19 sec)
-
tensorflow/cc/saved_model/saved_model_bundle_test.cc
// 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 = io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 15.3K bytes - Viewed (0) -
tensorflow/c/while_loop_test.cc
// Run the graph Run({0, 0}); ExpectOutputValue(0, 8); ExpectOutputValue(1, 3); } TEST_F(CApiWhileLoopTest, UnsetCondOutput) { Init(1); params_->body_outputs[0] = params_->body_inputs[0]; ExpectError(TF_INVALID_ARGUMENT, "TF_WhileParams `cond_output` field isn't set"); } TEST_F(CApiWhileLoopTest, WrongCondOutputType) { Init(1); params_->cond_output = params_->cond_inputs[0];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 06:05:56 UTC 2024 - 15.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call_test.cc
%0 = stablehlo.dot_general %arg0, %arg1, contracting_dims = [1] x [0], precision = [DEFAULT, DEFAULT] : (tensor<1x1024xf32>, tensor<1024x3xf32>) -> tensor<1x3xf32> return %0 : tensor<1x3xf32> } } )mlir"; TEST_F(LiftAsFunctionCallTest, LiftedFunctionSucceeds) { OwningOpRef<ModuleOp> module_op = ParseModuleOpString(kModuleLifted); ASSERT_TRUE(module_op); auto composite_dot_general_fn =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 26.2K bytes - Viewed (0) -
tensorflow/compiler/jit/device_executable_persistor_test.cc
key.set_device_type(device_type.type_string()); key.set_prefix(persistence_prefix); key.set_compiled_using_pjrt(compiled_using_pjrt); return key; } TEST_F(DeviceExecutionPersistorTest, PersistCacheDirNotSet) { XlaDeviceExecutablePersistor::Config config( /*persistent_cache_directory=*/"", /*disable_strict_signature_checks=*/false,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 25.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc
OwningOpRef<ModuleOp> module_; llvm::SourceMgr source_manager_; }; TEST_F(Tf2XlaRewriterTest, LegalizesOpWithTf2xlaHloImporter) { TF_EXPECT_OK(LegalizeModule()); int num_tuple_ops = 0; module_->walk([&num_tuple_ops](TupleOp tuple_op) { num_tuple_ops += 1; }); EXPECT_EQ(num_tuple_ops, 0); } TEST_F(Tf2XlaRewriterTest, ImportsXlaComputationIntoModule) { TF_ASSERT_OK(CreateMlirModule());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 11.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/remat/rematerializer_test.cc
using Rematerializer::AddTensor; using Rematerializer::AddUse; using Rematerializer::DelUse; using Rematerializer::Remat; }; TestableRematerializer r_; }; TEST_F(RematTest, TensorUseSimple) { for (int i = 0; i < 6; ++i) { r_.AddOperation(/*is_stateful=*/false); r_.AddTensor(/*size=*/1 << i); } r_.AddUse(/*ioperation=*/2, /*itensor=*/2);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 14 20:57:44 UTC 2023 - 19.1K bytes - Viewed (0) -
tensorflow/cc/tools/freeze_saved_model_test.cc
} TEST_F(FreezeTest, GraphDefWithoutDependentVariables) { TestFreezeGraphWithoutDependentVariables(false); } TEST_F(FreezeTest, GraphDefWithoutDependentResourceVariables) { TestFreezeGraphWithoutDependentVariables(true); } TEST_F(FreezeTest, GraphDefWithDependentVariables) { TestFreezeGraphWithDependentVariables(false); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 07 13:30:31 UTC 2022 - 21.7K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compiler_options_util_test.cc
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}); Device* device = device_setup_.GetDevice(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
auto module_op_ref = mlir::parseSourceString<mlir::ModuleOp>(module_op_str, &ctx_); EXPECT_TRUE(module_op_ref); return module_op_ref; } Env* env_{}; mlir::MLIRContext ctx_{}; }; TEST_F(SaveVariablesToCheckpointTest, VariableSavedToCheckpoint) { constexpr absl::string_view kModuleCode = R"mlir( module attributes {tf_saved_model.semantics} {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 16.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc
using ::testing::ElementsAre; using ::testing::HasSubstr; using ::testing::Key; using ::testing::SizeIs; using ::tsl::testing::StatusIs; class CalibrationStatisticsSaverTest : public OpsTestBase {}; TEST_F(CalibrationStatisticsSaverTest, MissingOutputPath) { std::vector<std::string> ids{"1"}; std::vector<int32_t> calibration_methods{ CalibrationOptions::CALIBRATION_METHOD_AVERAGE_MIN_MAX};
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 01:31:23 UTC 2024 - 11.4K bytes - Viewed (0)