Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Kersting (0.2 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

      tensorflow::ClusterDef* cluster_def = server_def.mutable_cluster();
      tensorflow::JobDef* job_def = cluster_def->add_job();
      job_def->set_name(job_name);
      for (int i = 0; i < num_tasks; i++) {
        int port = tensorflow::testing::PickUnusedPortOrDie();
        job_def->mutable_tasks()->insert(
            {i, tensorflow::strings::StrCat("localhost", ":", port)});
        LOG(INFO) << "Picked test port: " << port << " for job: " << job_name
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 22:09:57 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/array_grad_test.cc

        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
                           /*use_function*/ ::testing::Values(true, false)));
    #else
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradients.cc

      return absl::OkStatus();
    }
    
    // Helper functions which delegate to `AbstractOperation`, update
    // the state of the ForwardOperation and call the tape as appropriate.
    // These APIs are mainly to facilitate testing and are subject to change.
    namespace internal {
    Status Reset(AbstractOperation* op_, const char* op,
                 const char* raw_device_name, ForwardOperation* forward_op_) {
      forward_op_->op_name = op;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/gradients/custom_gradient_test.cc

      result_tensor = nullptr;
    }
    
    INSTANTIATE_TEST_SUITE_P(
        CustomGradientTest, CustomGradientTest,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
                           /*executing_eagerly*/ ::testing::Values(true, false)));
    
    }  // namespace
    }  // namespace internal
    }  // namespace gradients
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/math_grad_test.cc

        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
                           /*use_function*/ ::testing::Values(true, false)));
    #else
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_cluster_test.cc

    namespace {
    
    using ::tensorflow::string;
    
    void ReplaceTaskInServerDef(tensorflow::ServerDef* server_def, int task_index) {
      tensorflow::JobDef* job_def = server_def->mutable_cluster()->mutable_job(0);
      int port = tensorflow::testing::PickUnusedPortOrDie();
      job_def->mutable_tasks()->at(task_index) =
          tensorflow::strings::StrCat("localhost:", port);
    }
    
    void CheckTFE_TensorHandleHasFloats(TFE_TensorHandle* handle,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/lib/core/status_test_util.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace parallel_device {
    
    using ::testing::ElementsAre;
    using ::testing::HasSubstr;
    
    TEST(PARALLEL_DEVICE_LIB, TestOpWithError) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/gradients_test.cc

        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
                           /*executing_eagerly*/ ::testing::Values(true, false)));
    #else
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      if (TF_GetCode(status) != TF_OK)
        return ::testing::AssertionFailure() << TF_Message(status);
      auto metadata = gcs_client->InsertObject(bucket, object, content);
      if (metadata)
        return ::testing::AssertionSuccess();
      else
        return ::testing::AssertionFailure() << metadata.status().message();
    }
    
    ::testing::AssertionResult CompareSubString(int64_t offset, size_t length,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc

    #include "tsl/platform/casts.h"
    #include "tsl/platform/status_matchers.h"
    #include "tsl/protobuf/error_codes.pb.h"
    
    namespace tensorflow {
    namespace {
    
    using ::testing::HasSubstr;
    using ::testing::NotNull;
    using ::tsl::testing::StatusIs;
    
    PJRT_Buffer* CreateCBuffer() {
      auto status = pjrt::PjrtApi(DEVICE_CPU);
      if (!status.ok()) {
        CHECK_OK(pjrt::SetPjrtApi(DEVICE_CPU, GetPjrtApi()));
      }
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 7.2K bytes
    - Viewed (0)
Back to top