- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for INVALID_ARGUMENT (0.37 sec)
-
tensorflow/compiler/jit/device_executable_persistor_test.cc
persistor.TryToPersistExecutable( /*signature_hash=*/123, "signature_string", DefaultXlaOptions(), compilation_result_add_, *executable, &mock_client), testing::StatusIs(error::INVALID_ARGUMENT)); } TEST_F(DeviceExecutionPersistorTest, PersistExecutableEmpty) { XlaDeviceExecutablePersistor::Config config( /*persistent_cache_directory=*/cache_dir_,
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/tests/legalize-tf-prefer-tf2xla.mlir
// CHECK: %0 = mhlo.constant dense<[32, 12, 12, 64]> : tensor<4xi32> // CHECK-NEXT: %1 = "tf.RandomUniform"(%0) : (tensor<4xi32>) -> tensor<32x12x12x64xf32> // expected-remark@+1 {{failed to create tf2xla kernel: INVALID_ARGUMENT: NodeDef missing attrs 'seed2', 'seed' from}} %cst = "tf.Const"() {value = dense<[32, 12, 12, 64]> : tensor<4xi32>} : () -> tensor<4xi32> %0 = "tf.RandomUniform"(%cst) {} : (tensor<4xi32>) -> tensor<32x12x12x64xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 15.8K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass_test.cc
std::unique_ptr<Graph> graph; Status failure_status = BuildXlaOps(root, fdef_lib, &graph); ASSERT_FALSE(failure_status.ok()); EXPECT_EQ(failure_status.code(), error::INVALID_ARGUMENT); } TEST_F(BuildXlaOpsTest, OnNonXlaDevice) { Scope root = Scope::NewRootScope().ExitOnError(); FunctionDefLibrary fdef_lib = CreateFunctionDefLibWithConstFunction("cluster_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) -
tensorflow/compiler/mlir/mlir_graph_optimization_pass_test.cc
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"; constexpr char kFailure[] = "kFailure"; class MockMlirOptimizationPass : public MlirOptimizationPass { public: MOCK_METHOD(llvm::StringRef, name, (), (const, override));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 08:25:30 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc
.Attr("ids", ids) .Attr("calibration_methods", calibration_methods) .Finalize(node_def())); ASSERT_THAT(InitOp(), StatusIs(tsl::error::INVALID_ARGUMENT, HasSubstr("NodeDef missing attr 'output_file_path'"))); } TEST_F(CalibrationStatisticsSaverTest, WrongNumInputs) { std::vector<std::string> ids{"1"};
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 01:31:23 UTC 2024 - 11.4K bytes - Viewed (0) -
tensorflow/cc/training/queue_runner_test.cc
BuildQueueRunnerDef(kQueueName, {}, kCountUpToOpName, "", {}); std::unique_ptr<QueueRunner> qr; EXPECT_EQ(QueueRunner::New(queue_runner_def, &qr).code(), Code::INVALID_ARGUMENT); } TEST(QueueRunnerTest, StartTimeout) { GraphDef graph_def = BuildDoubleQueueGraph(); SessionOptions options; std::unique_ptr<Session> session(NewSession(options));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Sep 21 06:27:51 UTC 2019 - 14.7K bytes - Viewed (0) -
tensorflow/cc/framework/gradients_test.cc
// * * // / \ / \ // z y x std::vector<Output> grad_outputs; Status status = AddSymbolicGradients(scope_test_, {m1}, {z}, {dm1}, &grad_outputs); EXPECT_EQ(status.code(), error::INVALID_ARGUMENT); EXPECT_EQ(status.message(), "Cannot compute the partial derivative" " for node 'z' as it's unreachable from the output node(s)."); } TEST_F(GradientsTest, DependentOutputs) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 15 15:13:38 UTC 2023 - 25K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir
} func.func @non_const_inputs(%arg0: tensor<2x2xf64>, %arg1: tensor<f64>, %arg2: tensor<2xi32>, %arg3: tensor<2xi32>, %arg4: tensor<2xi32>) -> tensor<6x5xf64> { // expected-remark@+1 {{compilation to HLO failed: INVALID_ARGUMENT: Input 2 to node `tf.XlaPad` with op XlaPad must be a compile-time constant.}} %0 = "tf.XlaPad"(%arg0, %arg1, %arg2, %arg3, %arg4) : (tensor<2x2xf64>, tensor<f64>, tensor<2xi32>, tensor<2xi32>, tensor<2xi32>) -> tensor<6x5xf64>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 38.6K bytes - Viewed (0)