Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for startup (0.23 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

        TFE_TensorHandle* h = TFE_NewTensorHandle(t, status);
        ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
        TF_DeleteTensor(t);
    
        TFE_Op* op = TFE_NewOp(ctx, "ident", status);
        ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
        TFE_OpAddInput(op, h, status);
        ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
    
        std::vector<TFE_TensorHandle*> result;
    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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

          return TF_SetStatus(status, TF_INTERNAL,
                              "Block cache contents are inconsistent.");
        }
      }
    
      Trim();
    
      return TF_SetStatus(status, TF_OK, "");
    }
    
    void RamFileBlockCache::MaybeFetch(const Key& key,
                                       const std::shared_ptr<Block>& block,
                                       TF_Status* status) {
      bool downloaded_block = false;
    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)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

        out->resize(bytes_transferred, n);
      }
      return status.status;
    }
    
    TEST(RamFileBlockCacheTest, IsCacheEnabled) {
      auto fetcher = [](const string& filename, size_t offset, size_t n,
                        char* buffer, TF_Status* status) -> int64_t {
        // Do nothing.
        TF_SetStatus(status, TF_OK, "");
        return 0;
      };
      tf_gcs_filesystem::RamFileBlockCache cache1(0, 0, 0, fetcher);
    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)
  4. tensorflow/c/eager/c_api_test.cc

        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_OpAddInput(matmul, m, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_OpAddInput(matmul, m, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_Execute(matmul, &retvals[0], &num_retvals, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    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/eager/c_api_unified_experimental_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      TF_OutputListSetNumOutputs(mm_outputs, 1, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      TF_ExecuteOperation(fn_op, 1, &input_t, mm_outputs, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
    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)
  6. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularWritableFile::Sync() {
      if (ops_->sync == nullptr) return Flush();
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      ops_->sync(file_.get(), plugin_status.get());
      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularWritableFile::Name(StringPiece* result) const {
      *result = filename_;
      return OkStatus();
    }
    
    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/filesystem/modular_filesystem_test.cc

      if (!status.ok()) GTEST_SKIP() << "Append() not supported: " << status;
      status = new_file->Flush();
      if (!status.ok()) GTEST_SKIP() << "Flush() not supported: " << status;
      status = new_file->Close();
      if (!status.ok()) GTEST_SKIP() << "Close() not supported: " << status;
    
      std::unique_ptr<ReadOnlyMemoryRegion> region;
      status = env_->NewReadOnlyMemoryRegionFromFile(filepath, &region);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/nn_grad_test.cc

     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        status_ = StatusFromTF_Status(status.get());
        ASSERT_EQ(errors::OK, status_.code()) << status_.message();
    
        {
          AbstractContext* ctx_raw = nullptr;
          status_ =
              BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw);
    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)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

      TF_EXPECT_OK(status.status);
      EXPECT_EQ(value, 1);
      EXPECT_EQ(num_compute_calls, 2);
      cache2.LookupOrCompute("c", &value, compute_func, &status);
      TF_EXPECT_OK(status.status);
      EXPECT_EQ(value, 2);
      EXPECT_EQ(num_compute_calls, 3);
      cache2.LookupOrCompute("d", &value, compute_func, &status);
      TF_EXPECT_OK(status.status);
      EXPECT_EQ(value, 3);
      EXPECT_EQ(num_compute_calls, 4);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  10. tensorflow/c/checkpoint_reader.cc

        TF_Status* out_status) const {
      Status status;
      if (reader_ != nullptr) {
        status = reader_->GetTensor(name, out_tensor);
      } else {
        tensorflow::DataType dtype;
        tensorflow::TensorShape shape;
        status = v2_reader_->LookupDtypeAndShape(name, &dtype, &shape);
        if (status.ok()) {
          out_tensor->reset(new Tensor(dtype, shape));
          status = v2_reader_->Lookup(name, out_tensor->get());
    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)
Back to top