Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for INVALID_ARGUMENT (0.3 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      std::unique_ptr<ReadOnlyMemoryRegion> region;
      status = env_->NewReadOnlyMemoryRegionFromFile(filepath, &region);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::INVALID_ARGUMENT);
    }
    
    TEST_P(ModularFileSystemTest, TestCreateMemoryRegionFromFile) {
      const std::string filepath = GetURIForPath("a_file");
      std::unique_ptr<WritableFile> new_file;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
  7. RELEASE.md

            *   Use the free functions such as
                `tensorflow::errors::IsInvalidArgument` if needed.
            *   In the last resort, use
                e.g.`static_cast<tensorflow::errors::Code>(error::Code::INVALID_ARGUMENT)`
                or `static_cast<int>(code)` for comparisons.
    *   `tensorflow::StatusOr` will also become in the future an alias to
        `absl::StatusOr`, so use `StatusOr::value` instead of
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top