- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 79 for TEST_F (0.19 sec)
-
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/cc/saved_model/util_test.cc
} } SignatureDef sig_; google::protobuf::Map<std::string, TensorProto> request_; std::map<std::string, TensorProto> unaliased_request_; TensorProto input_x_, input_y_, default_x_, default_y_; }; TEST_F(GetInputValuesTest, RequestContainsInvalidInputs) { google::protobuf::Map<std::string, TensorProto> local_request = request_; local_request["xx"] = CreateTensorProto(2); std::vector<std::pair<string, Tensor>> inputs;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf_test.cc
} return absl::OkStatus(); } DialectRegistry registry_; MLIRContext context_; OwningOpRef<mlir::ModuleOp> mlir_module_; }; TEST_F(FunctionClusterTensorflowDialectTest, ClustersTfReplicatedBridge) { CellReader<int64_t> compilation_status(kCompilationStreamz); TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:44:37 UTC 2024 - 6.2K 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) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_import_test.cc
namespace mlir::quant::stablehlo { namespace { using ::testing::IsEmpty; using ::testing::Pair; using ::testing::UnorderedElementsAre; using UpdateFunctionAliasesTest = ::mlir::quant::QuantizationTestBase; TEST_F(UpdateFunctionAliasesTest, NoAliasesReturnsEmptyMap) { // MLIR @main function corresponds to the TF function "main_original". OwningOpRef<ModuleOp> module_op = ParseModuleOpString(R"mlir(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 07 03:47:17 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/debug/debug_test.cc
return tsl::io::JoinPath( getenv("TEST_UNDECLARED_OUTPUTS_DIR"), absl::StrCat(test_info->test_suite_name(), ".", test_info->name())); } }; TEST_F(InitPassManagerTest, CrashReproducer) { converter::DebugOptions debug_options; *debug_options.mutable_ir_dump_dir() = path_; mlir::PassManager pm(&context_); InitPassManager(pm, debug_options);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 11:15:16 UTC 2024 - 9.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)