Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for unique (0.2 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // ensures that two consecutive runs are unlikely to clash.
    class ModularFileSystemTest : public ::testing::TestWithParam<std::string> {
     public:
      // Initializes `root_dir_` to a unique value made of `::testing::TempDir()`, a
      // static random value unique for all the tests in one invocation, and the
      // current test name.
      //
      // Since the test name contains `/` (due to parameters), this function
      // replaces `/` with `_`.
      //
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. tensorflow/c/checkpoint_reader.h

      BuildV2VarMaps();
    
      // Invariant: exactly one of "reader_" and "v2_reader_" is non-null.
      std::unique_ptr<TensorSliceReader> reader_;
      std::unique_ptr<BundleReader> v2_reader_;
    
      std::unique_ptr<TensorSliceReader::VarToShapeMap> var_to_shape_map_;
      std::unique_ptr<TensorSliceReader::VarToDataTypeMap> var_to_data_type_map_;
    
      CheckpointReader(const CheckpointReader&) = delete;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

    namespace tensorflow {
    namespace parallel_device {
    
    TEST(PARALLEL_DEVICE, TestRemoteBasic) {
      std::unique_ptr<TFE_ContextOptions, decltype(&TFE_DeleteContextOptions)> opts(
          TFE_NewContextOptions(), TFE_DeleteContextOptions);
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      std::unique_ptr<TFE_Context, decltype(&TFE_DeleteContext)> context(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 22:09:57 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/tfe_monitoring_internal.h

      using TFE_MonitoringGauge::TFE_MonitoringGauge;
    };
    
    struct TFE_MonitoringBuckets {
      explicit TFE_MonitoringBuckets(
          std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)>
              fn) {
        create_buckets = fn;
      }
    
      std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)>
          create_buckets;
    };
    
    struct TFE_MonitoringSamplerCell {
      tensorflow::monitoring::SamplerCell cell;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  5. tensorflow/c/checkpoint_reader.cc

          if (!status.ok()) out_tensor->reset();
        }
      }
      if (!status.ok()) {
        tsl::Set_TF_Status_from_Status(out_status, status);
      }
    }
    
    std::pair<std::unique_ptr<TensorSliceReader::VarToShapeMap>,
              std::unique_ptr<TensorSliceReader::VarToDataTypeMap>>
    CheckpointReader::BuildV2VarMaps() {
      CHECK(v2_reader_ != nullptr);
      CHECK(v2_reader_->status().ok());
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    // register/use filesystems.
    
    namespace tensorflow {
    
    using UniquePtrTo_TF_Status =
        ::std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)>;
    
    Status ModularFileSystem::NewRandomAccessFile(
        const std::string& fname, TransactionToken* token,
        std::unique_ptr<RandomAccessFile>* result) {
      if (ops_->new_random_access_file == nullptr)
        return errors::Unimplemented(tensorflow::strings::StrCat(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/grappler/grappler_internal.h

    class Cluster;
    
    struct TFStatusDeleter {
      void operator()(TF_Status* s) const { TF_DeleteStatus(s); }
    };
    using OwnedTFStatus = std::unique_ptr<TF_Status, TFStatusDeleter>;
    
    struct TFBufferDeleter {
      void operator()(TF_Buffer* buf) const { TF_DeleteBuffer(buf); }
    };
    using OwnedTFBuffer = std::unique_ptr<TF_Buffer, TFBufferDeleter>;
    
    class CGraphOptimizer : public CustomGraphOptimizer {
     public:
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Jun 08 08:58:23 GMT 2022
    - 3.5K bytes
    - Viewed (1)
  8. tensorflow/c/eager/c_api_experimental_test.cc

      server_def.set_job_name("worker");
      server_def.set_task_index(0);
      std::unique_ptr<tensorflow::ServerInterface> w0;
      ASSERT_TRUE(
          factory->NewServer(server_def, ServerFactory::Options(), &w0).ok());
      ASSERT_TRUE(w0->Start().ok());
      server_def.set_task_index(1);
      std::unique_ptr<tensorflow::ServerInterface> w1;
      ASSERT_TRUE(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  9. tensorflow/c/eager/c_api_unified_experimental_test.cc

        Status s = StatusFromTF_Status(status.get());
        CHECK_EQ(errors::OK, s.code()) << s.message();
      }
    };
    
    TEST_P(UnifiedCAPI, TestBasicEager) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_ContextOptionsSetTfrt(opts, std::get<1>(GetParam()));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  10. tensorflow/c/eager/unified_api_testutil.h

    Status TestTensorHandleWithDims(AbstractContext* ctx, const T* data,
                                    const int64_t* dims, int num_dims,
                                    AbstractTensorHandle** tensor) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TFE_Context* eager_ctx =
          TF_ExecutionContextGetTFEContext(wrap(ctx), status.get());
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
Back to top