Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 51 for Cool (0.13 sec)

  1. tensorflow/c/experimental/gradients/nn_grad_test.cc

      return ops::BiasAdd(ctx, inputs[0], inputs[1], &outputs[0], "NHWC",
                          "BiasAdd");
    }
    
    class CppGradients
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        status_ = StatusFromTF_Status(status.get());
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/swig/testdata/callback/main.cc

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This .cc file will be automatically compiled by the go tool and
    // included in the package.
    
    #include <string>
    #include "main.h"
    
    std::string Caller::call() {
    	if (callback_ != 0)
    		return callback_->run();
    	return "";
    C++
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 384 bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      // Serialize to GraphDef.
      GraphDef graph_def;
      ASSERT_TRUE(GetGraphDef(graph, &graph_def));
    
      // Validate GraphDef is what we expect.
      bool found_placeholder = false;
      bool found_scalar_const = false;
      bool found_add = false;
      for (const auto& n : graph_def.node()) {
        if (IsPlaceholder(n)) {
          EXPECT_FALSE(found_placeholder);
          found_placeholder = true;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. tensorflow/c/eager/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      TFE_DeleteExecutor(executor);
      TFE_DeleteContext(ctx);
    }
    
    void ExecuteAdd(bool async, bool forward_input, bool tfrt) {
    #ifdef PLATFORM_WINDOWS
      // On windows, we flakily get a failure due to pointer instability.
      // Disable the 4 tests using this helper until we fix the issue.
      return;
    #else
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

    #include <memory>
    #include <sstream>
    #include <utility>
    
    #include "absl/synchronization/mutex.h"
    #include "tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h"
    
    namespace tf_gcs_filesystem {
    
    bool RamFileBlockCache::BlockNotStale(const std::shared_ptr<Block>& block) {
      absl::MutexLock l(&block->mu);
      if (block->state != FetchState::FINISHED) {
        return true;  // No need to check for staleness.
      }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental_test.cc

    #include "tensorflow/core/protobuf/cluster.pb.h"
    #include "tensorflow/core/protobuf/config.pb.h"
    
    using tensorflow::string;
    
    namespace tensorflow {
    namespace {
    
    static bool HasSubstr(absl::string_view base, absl::string_view substr) {
      bool ok = absl::StrContains(base, substr);
      EXPECT_TRUE(ok) << base << ", expected substring " << substr;
      return ok;
    }
    
    TEST(CAPI, MonitoringCounter0) {
    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)
  7. tensorflow/c/checkpoint_reader.cc

            new TensorSliceReader::VarToShapeMap(reader_->GetVariableToShapeMap()));
        var_to_data_type_map_.reset(new TensorSliceReader::VarToDataTypeMap(
            reader_->GetVariableToDataTypeMap()));
      }
    }
    
    bool CheckpointReader::HasTensor(const string& name) const {
      if (reader_ != nullptr) {
        return reader_->HasTensor(name, nullptr, nullptr);
      }
      return v2_reader_->Contains(name);
    }
    
    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)
  8. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      ops_->path_exists(filesystem_.get(), translated_name.c_str(),
                        plugin_status.get());
      return StatusFromTF_Status(plugin_status.get());
    }
    
    bool ModularFileSystem::FilesExist(const std::vector<std::string>& files,
                                       TransactionToken* token,
                                       std::vector<Status>* status) {
      if (ops_->paths_exist == nullptr)
    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)
  9. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    static bool GetURIScheme(const std::string& scheme) {
      tensorflow::SchemeVector()->push_back(scheme);
      return true;
    }
    
    // This function is used for cloud filesystem
    // `S3` and `GCS` require the `root_dir_` to have bucket name
    // `HDFS` requires the `root_dir` to have namenode
    // `root_dir_ = scheme + "://" cloud_path_ + root_dir_`
    static bool SetCloudPath(const std::string& cloud_path_) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

        }
      }
    }
    
    TEST(RamFileBlockCacheTest, OutOfRange) {
      // Tests reads of a 24-byte file with block size 16.
      const size_t block_size = 16;
      const size_t file_size = 24;
      bool first_block = false;
      bool second_block = false;
      auto fetcher = [block_size, file_size, &first_block, &second_block](
                         const string& filename, size_t offset, size_t n,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
Back to top